Failing to upgrade to 3.11.0

2021-07-07 Thread Babak Vahdat
Hi Could this be a bug in the dependency chain required for a Camel SB App with XML-DSL? I get the following exception as trying to upgrade from 3.7.4 to 3.11.0 (running on JDK 11). This happens the same no matter if I run the tests or try to boot up the App locally with "mvn spring-boot:run”

Re: Trace steps in the route with open tracing

2021-07-07 Thread James Netherton
I think it can work if you pass the active span initiated by Camel to the bean methods. For example: public class Bean1 { @Traced public void methodA(Span span) { // Do something } } Then in the Camel route: from("direct:start) .process(e -> { OpenTracingSpa

Re: Failing to upgrade to 3.11.0

2021-07-07 Thread Babak Vahdat
Sorry for the noise, that was a stupid mistake of mine. Problem solved. Babak > Am 07.07.2021 um 09:26 schrieb Babak Vahdat : > > Hi > > Could this be a bug in the dependency chain required for a Camel SB App with > XML-DSL? > > I get the following exception as trying to upgrade from 3.7.4 t

apiHost for swagger documentation

2021-07-07 Thread Grigorii.Ivanov
Hi guys, I found that there is an apiHost option for REST DSL, the documentation states that it "can be used to override the generated host with this configured hostname" - https://camel.apache.org/manual/latest/rest-dsl.html#_configuring_rest_dsl So I tried to use it like My intention was to

Re: apiHost for swagger documentation

2021-07-07 Thread Claus Ibsen
What Camel version do you use? On Wed, Jul 7, 2021 at 2:34 PM wrote: > > > Hi guys, > I found that there is an apiHost option for REST DSL, the documentation > states that it "can be used to override the generated host with this > configured hostname" - > https://camel.apache.org/manual/latest

RE: apiHost for swagger documentation

2021-07-07 Thread Grigorii.Ivanov
Hi Claus, We are stuck with 2.23.3, but I have also tried it with 2.25.3, no luck Is this a bug of 2.x? -Original Message- From: Claus Ibsen Sent: Wednesday, July 7, 2021 3:47 PM To: users@camel.apache.org Subject: Re: apiHost for swagger documentation What Camel version do you use? On

RE: apiHost for swagger documentation

2021-07-07 Thread Grigorii.Ivanov
Well, I've just checked 3.11.0, result is the same Is apiHost supposed to be used this way? -Original Message- From: Ivanov, Grigorii Sent: Wednesday, July 7, 2021 3:54 PM To: users@camel.apache.org Subject: RE: apiHost for swagger documentation Hi Claus, We are stuck with 2.23.3, but I

Re: apiHost for swagger documentation

2021-07-07 Thread Claus Ibsen
On 3.x try the openapi component instead of swagger On Wed, 7 Jul 2021 at 15.20, wrote: > Well, I've just checked 3.11.0, result is the same > Is apiHost supposed to be used this way? > > -Original Message- > From: Ivanov, Grigorii > Sent: Wednesday, July 7, 2021 3:54 PM > To: users@cam

RE: apiHost for swagger documentation

2021-07-07 Thread Grigorii.Ivanov
Yes, it behaves differently, but for me still in an odd way With openapi I got only the context path and the value of apiHost option is lost. "servers": [ { "url": "/foo" } ], ... Could you take a look at it? -Original Message- From: Claus Ibsen Sent: W

Re: apiHost for swagger documentation

2021-07-07 Thread Claus Ibsen
Hi Can you create a JIRA ticket then we wont forget, and others can also help to take a look On Wed, Jul 7, 2021 at 3:46 PM wrote: > > Yes, it behaves differently, but for me still in an odd way > With openapi I got only the context path and the value of apiHost option is > lost. > > "servers":