[ 
https://issues.apache.org/jira/browse/QPIDJMS-108?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14740680#comment-14740680
 ] 

Robbie Gemmell commented on QPIDJMS-108:
----------------------------------------

Added some tests showing the issue. Currently, if a rejected delivery state 
occurs, in the sync send case this will fail the send as expected. In the async 
case, it appears that the connection will be failed (prompting failover if in 
use) and the exception listener called as result of that (which might prompt a 
bit of a loop?). It may be preferable only to call the exception listener.

> producers don't correctly handle modified/released delivery state
> -----------------------------------------------------------------
>
>                 Key: QPIDJMS-108
>                 URL: https://issues.apache.org/jira/browse/QPIDJMS-108
>             Project: Qpid JMS
>          Issue Type: Bug
>    Affects Versions: 0.5.0
>            Reporter: Robbie Gemmell
>             Fix For: 0.6.0
>
>
> Producers don't correctly handle modified/released delivery state, treating 
> it as an unknown update. They currently only handle accepted adn rejected 
> states. In the case of a synchronous send (the default for persistent 
> messages on non-tx sessions), this leads to the send call waiting for such a 
> state to be attained which it may never be. This was encountered when sending 
> messages to Dispatch without a receiver running.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to