You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2016/03/17 16:29:33 UTC
[jira] [Commented] (AMQCPP-595) ActiveMQMessageProducer sends
producer registration async which causes it to miss possible exceptions on
creation like security exceptions.
[ https://issues.apache.org/jira/browse/AMQCPP-595?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15199715#comment-15199715 ]
ASF subversion and git services commented on AMQCPP-595:
--------------------------------------------------------
Commit 6870af49a91a5ec069c30f3a7b5d92d6ea4f735c in activemq-cpp's branch refs/heads/master from [~tabish121]
[ https://git-wip-us.apache.org/repos/asf?p=activemq-cpp.git;h=6870af4 ]
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
> 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)