activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torsten Mielke <tors...@fusesource.com>
Subject Re: Acknowledgement from consumer
Date Thu, 29 Mar 2012 09:50:06 GMT
Hi,

> But i was wondering whether it is possible to send a the JMSCorrelationID of
> the message to some queue in the broker as a acknowledgment to the broker??

No, that's no possible.
If you want to have control over the acks you should either use CLIENT_ACK mode or JMS transactions.



Torsten Mielke
torsten@fusesource.com
tmielke@blogspot.com



On Mar 29, 2012, at 11:23 AM, oBanawalikar wrote:

> I would like to know the various ways by which we can acknowledge individual
> messages received by the consumer. 
> the one which people generally use is, we set the ActiveMQSession as
> INDIVIDUAL_ACKNOWLEDGE, then we can send individual acknowledgment using
> message.acknowledge() method. 
> But i was wondering whether it is possible to send a the JMSCorrelationID of
> the message to some queue in the broker as a acknowledgment to the broker??
> 
> In this way I don't need the entire message object to be stored for
> acknowledgement, when it is possible using only the JMSCorrelationID.
> 




Mime
View raw message