You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Dariusz Szablinski (JIRA)" <ji...@apache.org> on 2009/11/12 22:03:52 UTC

[jira] Created: (AMQ-2489) "Could not correlate acknowledgment with dispatched message" exception

"Could not correlate acknowledgment with dispatched message" exception
----------------------------------------------------------------------

                 Key: AMQ-2489
                 URL: https://issues.apache.org/activemq/browse/AMQ-2489
             Project: ActiveMQ
          Issue Type: Bug
    Affects Versions: 5.3.0, 5.1.0, 5.4.0
            Reporter: Dariusz Szablinski
             Fix For: 5.3.1


This exception is thrown on broker side when two or more ASYNCH consumers acknowledges messages in not in order they received the messages.

See more on users list: http://old.nabble.com/%22Could-not-correlate-acknowledgment-with-dispatched-message%22-td26308220.html

Simple unit test attached.

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


[jira] Resolved: (AMQ-2489) "Could not correlate acknowledgment with dispatched message" exception

Posted by "Gary Tully (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQ-2489?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gary Tully resolved AMQ-2489.
-----------------------------

       Resolution: Fixed
    Fix Version/s: 5.4.0

resolved in r883458 - delivery acks are only needed for unacked messages to update prefetch and expiry. When message is acked, they should be suppressed as they now are as they will result in this exception due to not found in the dispatch list.

> "Could not correlate acknowledgment with dispatched message" exception
> ----------------------------------------------------------------------
>
>                 Key: AMQ-2489
>                 URL: https://issues.apache.org/activemq/browse/AMQ-2489
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: 5.1.0, 5.3.0, 5.4.0
>            Reporter: Dariusz Szablinski
>            Assignee: Gary Tully
>             Fix For: 5.3.1, 5.4.0
>
>         Attachments: JmsUnorderedAsynchAckTest.java
>
>
> This exception is thrown on broker side when two or more ASYNCH consumers acknowledges messages in not in order they received the messages.
> See more on users list: http://old.nabble.com/%22Could-not-correlate-acknowledgment-with-dispatched-message%22-td26308220.html
> Simple unit test attached.

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


[jira] Updated: (AMQ-2489) "Could not correlate acknowledgment with dispatched message" exception

Posted by "Dariusz Szablinski (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQ-2489?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dariusz Szablinski updated AMQ-2489:
------------------------------------

    Attachment: JmsUnorderedAsynchAckTest.java

> "Could not correlate acknowledgment with dispatched message" exception
> ----------------------------------------------------------------------
>
>                 Key: AMQ-2489
>                 URL: https://issues.apache.org/activemq/browse/AMQ-2489
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: 5.1.0, 5.3.0, 5.4.0
>            Reporter: Dariusz Szablinski
>             Fix For: 5.3.1
>
>         Attachments: JmsUnorderedAsynchAckTest.java
>
>
> This exception is thrown on broker side when two or more ASYNCH consumers acknowledges messages in not in order they received the messages.
> See more on users list: http://old.nabble.com/%22Could-not-correlate-acknowledgment-with-dispatched-message%22-td26308220.html
> Simple unit test attached.

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


[jira] Assigned: (AMQ-2489) "Could not correlate acknowledgment with dispatched message" exception

Posted by "Gary Tully (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQ-2489?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gary Tully reassigned AMQ-2489:
-------------------------------

    Assignee: Gary Tully

> "Could not correlate acknowledgment with dispatched message" exception
> ----------------------------------------------------------------------
>
>                 Key: AMQ-2489
>                 URL: https://issues.apache.org/activemq/browse/AMQ-2489
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: 5.1.0, 5.3.0, 5.4.0
>            Reporter: Dariusz Szablinski
>            Assignee: Gary Tully
>             Fix For: 5.3.1
>
>         Attachments: JmsUnorderedAsynchAckTest.java
>
>
> This exception is thrown on broker side when two or more ASYNCH consumers acknowledges messages in not in order they received the messages.
> See more on users list: http://old.nabble.com/%22Could-not-correlate-acknowledgment-with-dispatched-message%22-td26308220.html
> Simple unit test attached.

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


[jira] Commented: (AMQ-2489) "Could not correlate acknowledgment with dispatched message" exception

Posted by "Gary Tully (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/AMQ-2489?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=55639#action_55639 ] 

Gary Tully commented on AMQ-2489:
---------------------------------

thanks for the test case, The problem is a delivery ack that is not conditional on the consumer calling acknowledge and that combined with a prefetch=1 causes that pending delivery ack to be sent immediately, resulting in the broker error looking for a message that has already been acked.
However the messages are being acked individually just fine. 
The fix looks trivial enough, will commit once a full test run completes.

> "Could not correlate acknowledgment with dispatched message" exception
> ----------------------------------------------------------------------
>
>                 Key: AMQ-2489
>                 URL: https://issues.apache.org/activemq/browse/AMQ-2489
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: 5.1.0, 5.3.0, 5.4.0
>            Reporter: Dariusz Szablinski
>            Assignee: Gary Tully
>             Fix For: 5.3.1
>
>         Attachments: JmsUnorderedAsynchAckTest.java
>
>
> This exception is thrown on broker side when two or more ASYNCH consumers acknowledges messages in not in order they received the messages.
> See more on users list: http://old.nabble.com/%22Could-not-correlate-acknowledgment-with-dispatched-message%22-td26308220.html
> Simple unit test attached.

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


[jira] Closed: (AMQ-2489) "Could not correlate acknowledgment with dispatched message" exception

Posted by "Dariusz Szablinski (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQ-2489?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dariusz Szablinski closed AMQ-2489.
-----------------------------------


I've verified and the issue seems to be fixed. Thanks a lot.


> "Could not correlate acknowledgment with dispatched message" exception
> ----------------------------------------------------------------------
>
>                 Key: AMQ-2489
>                 URL: https://issues.apache.org/activemq/browse/AMQ-2489
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: 5.1.0, 5.3.0, 5.4.0
>            Reporter: Dariusz Szablinski
>            Assignee: Gary Tully
>             Fix For: 5.3.1, 5.4.0
>
>         Attachments: JmsUnorderedAsynchAckTest.java
>
>
> This exception is thrown on broker side when two or more ASYNCH consumers acknowledges messages in not in order they received the messages.
> See more on users list: http://old.nabble.com/%22Could-not-correlate-acknowledgment-with-dispatched-message%22-td26308220.html
> Simple unit test attached.

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