[jira] Created: (AMQCPP-272) MessageProducer doesn't throw correct exception when send method used incorrectly.

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (AMQCPP-272) MessageProducer doesn't throw correct exception when send method used incorrectly.

JIRA jira@apache.org
MessageProducer doesn't throw correct exception when send method used incorrectly.
----------------------------------------------------------------------------------

                 Key: AMQCPP-272
                 URL: https://issues.apache.org/activemq/browse/AMQCPP-272
             Project: ActiveMQ C++ Client
          Issue Type: Bug
          Components: CMS Impl
    Affects Versions: 3.0.1
            Reporter: Timothy Bish
            Assignee: Timothy Bish
             Fix For: 3.1


When the send method is called the client code should be checking to ensure that a destination isn't specified that is different from the default destination if one was used to create the producer.  The code should be checking the various condition and throwing the correct exceptions.

The CMS documentation should also be updated to be more explicit about what exceptions are thrown from the send method.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Resolved: (AMQCPP-272) MessageProducer doesn't throw correct exception when send method used incorrectly.

JIRA jira@apache.org

     [ https://issues.apache.org/activemq/browse/AMQCPP-272?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Timothy Bish resolved AMQCPP-272.
---------------------------------

    Resolution: Fixed

Resolved in trunk and 3.1.x branch

> MessageProducer doesn't throw correct exception when send method used incorrectly.
> ----------------------------------------------------------------------------------
>
>                 Key: AMQCPP-272
>                 URL: https://issues.apache.org/activemq/browse/AMQCPP-272
>             Project: ActiveMQ C++ Client
>          Issue Type: Bug
>          Components: CMS Impl
>    Affects Versions: 3.0.1
>            Reporter: Timothy Bish
>            Assignee: Timothy Bish
>             Fix For: 3.1
>
>
> When the send method is called the client code should be checking to ensure that a destination isn't specified that is different from the default destination if one was used to create the producer.  The code should be checking the various condition and throwing the correct exceptions.
> The CMS documentation should also be updated to be more explicit about what exceptions are thrown from the send method.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.