You may consider to use the InterceptorFrom DSL[1]
[1]http://camel.apache.org/intercept.html
On Wed Nov 30 21:26:52 2011, focaldi wrote:
Thanks William, I looked into the link. But I dont want to COMSUME message
from a queue, I need to trigger a bean method when a message was came to
queue. But it should not affect the routing.... I could not solve my problem
yet...
--
View this message in context:
http://camel.465427.n5.nabble.com/How-can-I-define-JMS-Queue-MessageListener-Bean-tp5034816p5035481.html
Sent from the Camel - Users mailing list archive at Nabble.com.
--
Willem
----------------------------------
FuseSource
Web: http://www.fusesource.com
Blog: http://willemjiang.blogspot.com (English)
http://jnn.javaeye.com (Chinese)
Twitter: willemjiang
Weibo: willemjiang