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 2012/12/07 20:39:20 UTC

[jira] [Resolved] (AMQ-4213) ActiveMQMessageProducer sends producer registration async which causes it to miss possible exceptions on creation like security exceptions.

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

Timothy Bish resolved AMQ-4213.
-------------------------------

    Resolution: Fixed

Fix and test added on trunk.
                
> ActiveMQMessageProducer sends producer registration async which causes it to miss possible exceptions on creation like security exceptions.
> -------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AMQ-4213
>                 URL: https://issues.apache.org/jira/browse/AMQ-4213
>             Project: ActiveMQ
>          Issue Type: Improvement
>          Components: JMS client
>    Affects Versions: 5.7.0
>            Reporter: Timothy Bish
>            Priority: Trivial
>             Fix For: 5.8.0
>
>
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira