Hello, with camel-cdi you just define a CDI bus:
@Dependent @Named("mybus") public class MyBus extends ExtensionManagerBus { } Then in your route you reference it by its name: .to( "cxfbean:xxxxx?bus=#mybus") Romain Manni-Bucau @rmannibucau <https://twitter.com/rmannibucau> | Blog <https://blog-rmannibucau.rhcloud.com> | Old Blog <http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> | LinkedIn <https://www.linkedin.com/in/rmannibucau> | JavaEE Factory <https://javaeefactory-rmannibucau.rhcloud.com> 2017-04-04 7:30 GMT+02:00 syadav <b.srisai...@gmail.com>: > And this I want in java code no xml. I dont want to use any xmls > > > > -- > View this message in context: http://camel.465427.n5.nabble. > com/impl-cxf-bus-tp5796887p5796888.html > Sent from the Camel - Users mailing list archive at Nabble.com. >