You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Arian Treffer <de...@gmail.com> on 2020/03/27 09:01:33 UTC
Setting maximumPoolSize of netty-http via restConfiguration
Hi,
I was unable to configure maximumPoolSize using below code:
restConfiguration()
.component("netty-http")
.componentProperty("maximumPoolSize ", "200");
Using this code did the trick
NettyHttpComponent o =
getContext().getComponent("netty-http", NettyHttpComponent.class);
o.setMaximumPoolSize(200);
Is this intentional?
Best regards,
Arian
Re: Setting maximumPoolSize of netty-http via restConfiguration
Posted by Arian Treffer <de...@gmail.com>.
Hi,
Sorry I forgot to mention. It’s 3.0.1
Best
Arian
Claus Ibsen <cl...@gmail.com> schrieb am Fr. 27. März 2020 um 10:11:
> Hi
>
> What Camel version are you using?
>
> On Fri, Mar 27, 2020 at 10:01 AM Arian Treffer <de...@gmail.com> wrote:
> >
> > Hi,
> >
> > I was unable to configure maximumPoolSize using below code:
> >
> > restConfiguration()
> > .component("netty-http")
> > .componentProperty("maximumPoolSize ", "200");
> >
> > Using this code did the trick
> >
> > NettyHttpComponent o =
> > getContext().getComponent("netty-http", NettyHttpComponent.class);
> > o.setMaximumPoolSize(200);
> >
> > Is this intentional?
> >
> > Best regards,
> > Arian
>
>
>
> --
> Claus Ibsen
> -----------------
> http://davsclaus.com @davsclaus
> Camel in Action 2: https://www.manning.com/ibsen2
>
Re: Setting maximumPoolSize of netty-http via restConfiguration
Posted by Claus Ibsen <cl...@gmail.com>.
Hi
What Camel version are you using?
On Fri, Mar 27, 2020 at 10:01 AM Arian Treffer <de...@gmail.com> wrote:
>
> Hi,
>
> I was unable to configure maximumPoolSize using below code:
>
> restConfiguration()
> .component("netty-http")
> .componentProperty("maximumPoolSize ", "200");
>
> Using this code did the trick
>
> NettyHttpComponent o =
> getContext().getComponent("netty-http", NettyHttpComponent.class);
> o.setMaximumPoolSize(200);
>
> Is this intentional?
>
> Best regards,
> Arian
--
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2