[ 
https://issues.apache.org/jira/browse/QPID-143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12762609#action_12762609
 ] 

Martin Ritchie commented on QPID-143:
-------------------------------------

This problem is best identified by when causing failover in a test whilst in 
the onMessage handler.

> Acks during failover
> --------------------
>
>                 Key: QPID-143
>                 URL: https://issues.apache.org/jira/browse/QPID-143
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Client
>    Affects Versions: M3
>            Reporter: Steven Shaw
>            Assignee: Martin Ritchie
>         Attachments: 
> TEST-org.apache.qpid.test.unit.ack.AcknowledgeAfterFailoverOnMessageTest.testDupsOk.out
>
>
> Martin Ritchie wrote:
> > It's possible to receive a message and before acking it, fail over to a new 
> > broker. When the message is acked the broker barfs 
> > because it does not know about that message.
> See AMQChannel.checkAck.
> Steven Shaw wrote:
> > We must use NO_ACK acknowledgement mode when failover in needed as a 
> > workaround until this issue is resolved.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:[email protected]

Reply via email to