Hello,
Sorry about my ramblings above! I figured this out (Man was so simple!) This
thread helped me!

http://camel.465427.n5.nabble.com/Request-Reply-using-a-predefined-reply-queue-td470371.html

/This is my Route:/
              *
from("jms:validate?replyTo=validateResult").bean(ValidatorBean.class);*

/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!

Matt


--
View this message in context: 
http://camel.465427.n5.nabble.com/Basic-JMS-to-bean-In-Out-Router-Question-tp5069797p5072759.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to