camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mattmadhavan <>
Subject Re: Basic JMS to bean In/Out Router Question
Date Tue, 13 Dec 2011 20:58:47 GMT
Sorry about my ramblings above! I figured this out (Man was so simple!) This
thread helped me!

/This is my Route:/

/Sending a message as follows:/
       * template.sendBody("jms:validate", "My Text Message");*

/Receiving the replied message as follows:/
       * Endpoint endpoint = context.getEndpoint("jms:validateResult");
        PollingConsumer consumer = endpoint.createPollingConsumer();
        Object reply = consumer.receive().getIn().getBody();

All good! Thanks a lot!


View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message