activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torsten Mielke <>
Subject Re: can a Consumer receive a message but the Acknowledment is send by some other process?
Date Tue, 27 Mar 2012 11:32:16 GMT
No, that is not possible.
The JMS ack has to be sent from the initial consumer to the broker. 
If you need to pass on the message to other processes, why not use another queue? 

Defining an integration route using Apache Camel could be another option.

Torsten Mielke

On Mar 26, 2012, at 2:46 PM, oBanawalikar wrote:

> n ActiveMQ, I was sending a message to a consumer, the consumer then forwards
> the message to a different process. I wanted to know if there is any way by
> which the acknowledgment can be send to the broker from the other process??
> I tired sending the Message Object using a socket connection to the other
> process and then calling the acknowledge() method on it, it is not working.
> I tried the sending the message to some other class object(in the same JAVA
> process) and then calling the acknowledge() method, it worked.
> --
> View this message in context:
> Sent from the ActiveMQ - User mailing list archive at

View raw message