[
https://issues.apache.org/jira/browse/AMQ-6968?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16483039#comment-16483039
]
ASF subversion and git services commented on AMQ-6968:
------------------------------------------------------
Commit 5403ad2e826048d021f8feee888015c45c979514 in activemq's branch
refs/heads/activemq-5.15.x from [~tabish121]
[ https://git-wip-us.apache.org/repos/asf?p=activemq.git;h=5403ad2 ]
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
(cherry picked from commit db8c771b2a37ad16d789f546507b6329221f4c7a)
> 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)