You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by sdonovan_uk <sd...@yahoo.com> on 2012/11/08 02:23:48 UTC

AMQ-2489 not fixed, acknowledgement problem.

Active MQ V5.7.0
C++/CMS V3.4.5

I am using a queue
We have written a C++ consumer, using CLIENT_ACKNOWLEDGEMENT.

When receiving messages, if the prefetch value is either 1 or 2 -- you get
the exception "Could not correlate acknowledge with dispatched message", as
described in bug AMQ-1489.

If the prefetch value higher than 2 -- it works, and you don't get the
exception.

This is IMPORTANT -- because although the exception is a "warning" (and is
discussed as "unimportant") -- it CHRONICALLY affects performance, by
approximately one factor.

Sean




--
View this message in context: http://activemq.2283324.n4.nabble.com/AMQ-2489-not-fixed-acknowledgement-problem-tp4658990.html
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.

Re: AMQ-2489 not fixed, acknowledgement problem.

Posted by sdonovan_uk <sd...@yahoo.com>.
Tim,

I think I've actually found the problem (and a potential solution). 
Thankfully, I think the error was caused by a simple coding mistake.

I will open a JIRA item.  If you don't mind, I will email you also, just in
case I screw something up (I'm new to the ActiveMQ process).

Sean



--
View this message in context: http://activemq.2283324.n4.nabble.com/AMQ-2489-not-fixed-acknowledgement-problem-tp4658990p4659550.html
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.

Re: AMQ-2489 not fixed, acknowledgement problem.

Posted by Timothy Bish <ta...@gmail.com>.
On Thu, 2012-11-08 at 09:28 -0800, sdonovan_uk wrote: 
> First, many thanks for replying.
> 
> I've just tried AMQCPP v3.5.0 SNAPSHOT -- and the problem still happens.  It
> isn't fixed.
> 
> Suggestions?
> 

Create a unit test and open a jira for the problem.

> Sean
> 
> 
> 
> --
> View this message in context: http://activemq.2283324.n4.nabble.com/AMQ-2489-not-fixed-acknowledgement-problem-tp4658990p4659054.html
> Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.

-- 
Tim Bish
Sr Software Engineer | RedHat Inc.
tim.bish@redhat.com | www.fusesource.com | www.redhat.com 
skype: tabish121 | twitter: @tabish121
blog: http://timbish.blogspot.com/


Re: AMQ-2489 not fixed, acknowledgement problem.

Posted by sdonovan_uk <sd...@yahoo.com>.
First, many thanks for replying.

I've just tried AMQCPP v3.5.0 SNAPSHOT -- and the problem still happens.  It
isn't fixed.

Suggestions?

Sean



--
View this message in context: http://activemq.2283324.n4.nabble.com/AMQ-2489-not-fixed-acknowledgement-problem-tp4658990p4659054.html
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.

Re: AMQ-2489 not fixed, acknowledgement problem.

Posted by Timothy Bish <ta...@gmail.com>.
On Wed, 2012-11-07 at 17:23 -0800, sdonovan_uk wrote: 
> Active MQ V5.7.0
> C++/CMS V3.4.5
> 
> I am using a queue
> We have written a C++ consumer, using CLIENT_ACKNOWLEDGEMENT.
> 
> When receiving messages, if the prefetch value is either 1 or 2 -- you get
> the exception "Could not correlate acknowledge with dispatched message", as
> described in bug AMQ-1489.
> 
> If the prefetch value higher than 2 -- it works, and you don't get the
> exception.
> 
> This is IMPORTANT -- because although the exception is a "warning" (and is
> discussed as "unimportant") -- it CHRONICALLY affects performance, by
> approximately one factor.
> 

Think you need the AMQCPP v3.5.0 SNAPSHOT located here:
http://people.apache.org/~tabish/cms-3.5.x/

> Sean
> 
> 
> 
> 
> --
> View this message in context: http://activemq.2283324.n4.nabble.com/AMQ-2489-not-fixed-acknowledgement-problem-tp4658990.html
> Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.

-- 
Tim Bish
Sr Software Engineer | RedHat Inc.
tim.bish@redhat.com | www.fusesource.com | www.redhat.com 
skype: tabish121 | twitter: @tabish121
blog: http://timbish.blogspot.com/