camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james.strac...@gmail.com>
Subject Re: working with jms
Date Fri, 20 Jun 2008 09:52:42 GMT
2008/6/20 skg <saurabh_garg05@infosys.com>:
>
> Hi,
>
> I worked with the example which uses jms to receive and send message to web
> services. The consumer receives the message on servicemix console but what
> if I want the message in some file or some simple java objects such as
> hashmap. Can we store our message in that also.

So send to a file use the file endpoint...
http://activemq.apache.org/camel/file.html

e.g.

from("activemq:SomeQueue").to("file://someDir");

To work with beans and hashmaps, just send the message to a bean...
http://activemq.apache.org/camel/bean-integration.html

-- 
James
-------
http://macstrac.blogspot.com/

Open Source Integration
http://open.iona.com

Mime
View raw message