activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torsten Mielke <tors...@fusesource.com>
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
torsten@fusesource.com
tmielke@blogspot.com


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: http://activemq.2283324.n4.nabble.com/can-a-Consumer-receive-a-message-but-the-Acknowledment-is-send-by-some-other-process-tp4505651p4505651.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.






Mime
View raw message