On Tue, Mar 5, 2013 at 12:41 PM, helander <leh...@gmail.com> wrote:
> I have a route that starts with
>
>   from("cxf:bean:foo ....  ")    i.e. Java DSL
>
> I need to create/register the bean "foo" from Java, is that possible?
> Where can I find a working example?
>

Yes just register the bean in the Camel registry. If you use pure Java
you can use SimpleRegistry / JndiRegistry etc.
http://camel.apache.org/registry

Covered also in Camel in Action book, chapter 4, section 4.3


>
> Thanks
>
> Lars
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Create-CXFEndpoint-using-Java-tp5728570.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



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

Reply via email to