You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Zoltan Farkas <zo...@yahoo.com.INVALID> on 2015/06/08 17:58:37 UTC
is there a way to change the default properties of a camel component?
For example I have the Cxf bean component:
http://camel.apache.org/cxf-bean-component.html <http://camel.apache.org/cxf-bean-component.html>
I want to be able to have bus=#myBus to all cxfBean endpoints in my app without the need to add ‘’?bus=#myBus” to each.
let me know
thank you
—Z
Re: is there a way to change the default properties of a camel component?
Posted by Claus Ibsen <cl...@gmail.com>.
Hi
Sometimes a component allows to configure an option on the component
level, that endpoints inherited by default. But its not all components
that can do that.
And to configure options on components you need to create an instance
of it, and configure it the usual java / xml <bean> way.
On Wed, Jun 10, 2015 at 5:58 AM, yogu13 <yo...@gmail.com> wrote:
> One way is to extend the component and the default the configuration value to
> what you want it to be.
>
> Regards,
> -Yogesh
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/is-there-a-way-to-change-the-default-properties-of-a-camel-component-tp5767985p5768045.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
--
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cibsen@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
hawtio: http://hawt.io/
fabric8: http://fabric8.io/
Re: is there a way to change the default properties of a camel
component?
Posted by yogu13 <yo...@gmail.com>.
One way is to extend the component and the default the configuration value to
what you want it to be.
Regards,
-Yogesh
--
View this message in context: http://camel.465427.n5.nabble.com/is-there-a-way-to-change-the-default-properties-of-a-camel-component-tp5767985p5768045.html
Sent from the Camel - Users mailing list archive at Nabble.com.