[
https://issues.apache.org/jira/browse/QPIDJMS-196?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15406724#comment-15406724
]
ASF subversion and git services commented on QPIDJMS-196:
---------------------------------------------------------
Commit aef8ade2c101b9931bbcf25a1efe2c619ca89e15 in qpid-jms's branch
refs/heads/master from [~tabish121]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-jms.git;h=aef8ade ]
QPIDJMS-196 Anonymous fallback producer send failure not handled.
Ensure that on send failure with the anonymous fallback producer the
producer is closed if caching is off and the send failure is propagated
to the MessageProducer send call as expected.
> Anonymous Fallback producer does not handle send failure properly
> -----------------------------------------------------------------
>
> Key: QPIDJMS-196
> URL: https://issues.apache.org/jira/browse/QPIDJMS-196
> Project: Qpid JMS
> Issue Type: Bug
> Components: qpid-jms-client
> Affects Versions: 0.10.0
> Reporter: Timothy Bish
> Assignee: Timothy Bish
> Fix For: 0.11.0
>
>
> When anonymous relay is not supported the anonymous fallback producer is used
> but it doesn't cope well with rejected or other send failures. The handler
> needs to propagate the error and close down the producer if not cached.
> Currently the code encounters an NPE due to it assuming that caching is
> always enabled resulting in not closing the producer and not forwarding the
> send outcome.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]