Hi

Yeah see
http://camel.apache.org/pojo-messaging-example.html

You dont need a route if you use a pojo with the @Consume annotation
as shown in that example.


On Wed, Nov 20, 2013 at 5:29 PM, flovansi <florent.vansilie...@swift.com> wrote:
> Hi all,
>
> Is it possible to consume message from a Java bean?
>
> Something like:
>
> <from ref="myBean"/>
>
> where myBean could be a custom bean to get JMS message from a queue, or
> anything you can think of.
>
> I know that I can achieve that by creating custom Camel Component but a Java
> Bean could be simpler in my case.
>
> If it's not possible, is there any other way to achieve that?
>
> Thank you,
>
> Florent
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Consume-from-a-java-bean-tp5743580.html
> Sent from the Camel Development mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cib...@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Reply via email to