You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by cmaxo <cm...@engineer.com> on 2007/04/11 23:57:57 UTC

c++ acknowledge

It looks like when clone() is called in ActiveMQConsumer::receive() in the
activemq-cpp library the cloned message does not have an ack handler.  Is
that a bug or as designed?  I can get the cloned msg to have an ack handler
by calling beforeMessageIsConsumed and passing it in as the parameter but
I'm wondering if I'm using the api correctly.

Thanks for a great product,

Corey
-- 
View this message in context: http://www.nabble.com/c%2B%2B-acknowledge-tf3562225s2354.html#a9949215
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: c++ acknowledge

Posted by cmaxo <cm...@engineer.com>.
cool.  here is a link https://issues.apache.org/activemq/browse/AMQCPP-98

Corey



Timothy Bish wrote:
> 
> This sounds like a bug, please create a Jira issue describing what you
> are seeing.
> 
> cmaxo wrote:
>> It looks like when clone() is called in ActiveMQConsumer::receive() in
>> the
>> activemq-cpp library the cloned message does not have an ack handler.  Is
>> that a bug or as designed?  I can get the cloned msg to have an ack
>> handler
>> by calling beforeMessageIsConsumed and passing it in as the parameter but
>> I'm wondering if I'm using the api correctly.
>>
>> Thanks for a great product,
>>
>> Corey
>>   
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/c%2B%2B-acknowledge-tf3562225s2354.html#a9950178
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: c++ acknowledge

Posted by Timothy Bish <ta...@twcny.rr.com>.
This sounds like a bug, please create a Jira issue describing what you
are seeing.

cmaxo wrote:
> It looks like when clone() is called in ActiveMQConsumer::receive() in the
> activemq-cpp library the cloned message does not have an ack handler.  Is
> that a bug or as designed?  I can get the cloned msg to have an ack handler
> by calling beforeMessageIsConsumed and passing it in as the parameter but
> I'm wondering if I'm using the api correctly.
>
> Thanks for a great product,
>
> Corey
>