You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Timothy Bish (JIRA)" <ji...@apache.org> on 2009/12/15 20:29:53 UTC

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

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.


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

Posted by "Timothy Bish (JIRA)" <ji...@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.