You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by demonair <de...@gmail.com> on 2009/07/14 02:54:15 UTC

How can I save to message data that already exists in the queue?

How can I save to message data that already exists in the queue?

I explain:

I insert a data to the tail, now I want to upgrade, for example: 
The first time insert "Hello" 

and suppose that is stored in message 1 

I now add "World" in the message. 

so that the message is the following "Hello World" 

How can I do?

thanks in advance
-- 
View this message in context: http://www.nabble.com/How-can-I-save-to-message-data-that-already-exists-in-the-queue--tp24471998p24471998.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: How can I save to message data that already exists in the queue?

Posted by Jose Luna <j-...@rocketmail.com>.
I'm not sure I understand correctly,  but I think you need Camel.  Check out the aggregator pattern:
http://camel.apache.org/aggregator.html
For more info about using Camel with Activemq:
http://activemq.apache.org/how-should-i-package-applications-using-camel-and-activemq.html



----- Original Message ----
> From: demonair <de...@gmail.com>
> To: users@activemq.apache.org
> Sent: Monday, July 13, 2009 8:54:15 PM
> Subject: How can I save to message data that already exists in the queue?
> 
> 
> How can I save to message data that already exists in the queue?
> 
> I explain:
> 
> I insert a data to the tail, now I want to upgrade, for example: 
> The first time insert "Hello" 
> 
> and suppose that is stored in message 1 
> 
> I now add "World" in the message. 
> 
> so that the message is the following "Hello World" 
> 
> How can I do?
> 
> thanks in advance
> -- 
> View this message in context: 
> http://www.nabble.com/How-can-I-save-to-message-data-that-already-exists-in-the-queue--tp24471998p24471998.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.