Re: Setting maximumPoolSize of netty-http via restConfiguration

2020-03-28 Thread Arian Treffer
Hi, Sorry I forgot to mention. It’s 3.0.1 Best Arian Claus Ibsen 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 wrote: > > > > Hi, > > > > I was unable to con

Setting maximumPoolSize of netty-http via restConfiguration

2020-03-27 Thread Arian Treffer
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("net

Send message to multiple recipients and wait only for first response

2020-03-04 Thread Arian Treffer
Hi, As the subject says, I want to send a message to multiple recipients, but wait only for the first response before returning synchronously. The Split and Recipient List EIPs do have a parallel mode but all seem to wait until all messages are processed. How can I realize this pattern in Camel?

Space inserted in Content-Type header

2019-05-06 Thread Arian Treffer
Hi everyone, using the http4 component, when I put > .setHeader("Content-Type", constant("text/xml;charset=UTF-8")) > .to("http:// ...") in my route definition, I receive "Content-Type=text/xml; charset=UTF-8" on the server, with a space added after the semicolon. This seems to happen only with a

Using dot to separate path parameters

2019-04-17 Thread Arian Treffer
Hi everyone, I would like to let users of my REST API to specify the response format using ".json" or ".xml". I tried the following configuration, but it does not recognize "content-type" as a parameter. rest("products/").description("Products API") .get("{shortcode}/memo.{con