[
https://issues.apache.org/jira/browse/AMQ-6968?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16483036#comment-16483036
]
ASF subversion and git services commented on AMQ-6968:
------------------------------------------------------
Commit db8c771b2a37ad16d789f546507b6329221f4c7a in activemq's branch
refs/heads/master from [~tabish121]
[ https://git-wip-us.apache.org/repos/asf?p=activemq.git;h=db8c771 ]
AMQ-6968 Ensure that the correct exception is thrown
Allow the original exception that triggered the failure to be thrown
from the packet send methods
> Incorrect error can be thrown from method that receives a security exception
> ----------------------------------------------------------------------------
>
> Key: AMQ-6968
> URL: https://issues.apache.org/jira/browse/AMQ-6968
> Project: ActiveMQ
> Issue Type: Bug
> Components: JMS client
> Affects Versions: 5.15.4
> Reporter: Timothy Bish
> Assignee: Timothy Bish
> Priority: Minor
> Fix For: 5.16.0, 5.15.5
>
>
> If a client side operation receives an SecurityException as am ErrorResponse
> and the client closes the connection from the JMS ExceptionListener when the
> listener is triggered by that exception the Connection ExecutorService could
> throw a RejectedExecutionException and the client code will pass along that
> error instead of the originally intended JMSSecurityException
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)