There is an example of reading messages from a JMS queue in the Camel in Action book, appendix C. See some sample code here:
http://code.google.com/p/camelinaction/source/browse/trunk/appendixC/consumer/src/main/java/camelinaction/OrderCollectorBean.java On Fri, Sep 2, 2011 at 6:38 AM, pranay6723 <[email protected]> wrote: > Hi, > > I want to read contents of a JMS queue message and assign the message to a > variable, is it possible?? > can somebody provide me any plain JAVA or JAVA DSL or spring DSL sample?? i > want to run it through servicemix.. > > > Thanks in advance, > Pranay > > -- > View this message in context: > http://servicemix.396122.n5.nabble.com/How-to-Read-a-JMS-queue-tp4761619p4761619.html > Sent from the ServiceMix - Dev mailing list archive at Nabble.com. > -- Cheers, Jon --------------- FuseSource Email: [email protected] Web: fusesource.com Twitter: jon_anstey Blog: http://janstey.blogspot.com Author of Camel in Action: http://manning.com/ibsen
