camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antoine DESSAIGNE <antoine.dessai...@gmail.com>
Subject Re: Overriding default properties in camel http4 component via blueprint
Date Wed, 20 Jul 2016 08:34:30 GMT
Hello.

It looks like you can configure it with the URI options. I've tried with
2.16.2 which is quite close.

<from
uri="http4://localhost:8081?maxTotalConnections=1234&amp;connectionsPerRoute=1234"
/>

Antoine.

2016-07-19 12:02 GMT+02:00 Claus Ibsen <claus.ibsen@gmail.com>:

> Some components allow to configure component level options, which you
> do the <bean> style.
>
> <bean id="http4" class="....HttpComponent">
>   <property ...>
> </bean>
>
> Which is standard blueprint / spring xml style.
>
> Then the Camel routes that use http4 (the id of the bean) is using
> that component. You can give the id any name you like instead of
> http4.
>
>
>
> On Mon, Jul 18, 2016 at 3:29 PM, Debraj Manna <subharaj.manna@gmail.com>
> wrote:
> > I want to change maxTotalConnections and connectionsPerRoute in camel
> > http4 component
> > via blueprint.
> >
> > Can some one please let me know is it possible to do this or I have to
> send
> > this as URI option?
> >
> > I am on camel 2.16.3
>
>
>
> --
> Claus Ibsen
> -----------------
> http://davsclaus.com @davsclaus
> Camel in Action 2: https://www.manning.com/ibsen2
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message