[ https://issues.apache.org/jira/browse/AMQCPP-595?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15199718#comment-15199718 ]
ASF subversion and git services commented on AMQCPP-595: -------------------------------------------------------- Commit a8b9e0346b68a17ff18f26e51195164015b8ac5a in activemq-cpp's branch refs/heads/3.9.x from [~tabish121] [ https://git-wip-us.apache.org/repos/asf?p=activemq-cpp.git;h=a8b9e03 ] https://issues.apache.org/jira/browse/AMQCPP-595 Use sync call to create a producer in order to capture exceptions from the broker on create (cherry picked from commit 6870af49a91a5ec069c30f3a7b5d92d6ea4f735c) > ActiveMQMessageProducer sends producer registration async which causes it to > miss possible exceptions on creation like security exceptions. > ------------------------------------------------------------------------------------------------------------------------------------------- > > Key: AMQCPP-595 > URL: https://issues.apache.org/jira/browse/AMQCPP-595 > Project: ActiveMQ C++ Client > Issue Type: Bug > Components: CMS Impl > Affects Versions: 3.9.2 > Reporter: Timothy Bish > Assignee: Timothy Bish > Fix For: 3.9.3 > > > When creating a producer the ActiveMQMessageProducer sends its producer info > asynchronously which can cause it to not propagate exceptions back to the > client like Security exceptions and it won't remove itself from the session > right away. This should be sent sync so that these errors are propagated > correctly to the client. -- This message was sent by Atlassian JIRA (v6.3.4#6332)