camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fitzcaraldo <Brian.fitzger...@marlo.com.au>
Subject Accessing Endpoint within bean
Date Mon, 05 Mar 2012 00:01:53 GMT
Hi

I want to develop a bean that will write a copy of the message at various
points passing through a Camel route.  Something like as follows:

from(foo:bar).bean("MyClass", "input")
.to(foo:bar).bean("MyClass", "output")

Inside the MyClass bean I want to be able to write to a jms log queue.  Is
there anyway I can leverage an camel endpoint to do that or do I need to use
raw JMS?  If JMS is the anyway I can get hold of the existing JMS
connection?

Thanks

--
View this message in context: http://camel.465427.n5.nabble.com/Accessing-Endpoint-within-bean-tp5536081p5536081.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message