Svar: Re: Svar: Re: Issue with unit or work and toV endpoint when Excetion thrown

2024-03-26 Thread Mikael Andersson Wigander
Sorry cry wolf  My bad /M Den 26 mars 2024 kl 10:46, Mikael Andersson Wigander <[mikael.andersson.wigan...@pm.me.INVALID](mailto:Den 26 mars 2024 kl 10:46, Mikael Andersson Wigander < skrev: > Hi and thanks for the fix. > > However there are some additional issues. > > The rest dsl is not

Svar: Re: Svar: Re: Issue with unit or work and toV endpoint when Excetion thrown

2024-03-26 Thread Mikael Andersson Wigander
Hi and thanks for the fix. However there are some additional issues. The rest dsl is not returning the correct status code. I have reverted back to a normal flow using .to(). Not sure if it’s related. But I’m not capable to return the correct http status code. The error message is returned

Re: Svar: Re: Issue with unit or work and toV endpoint when Excetion thrown

2024-03-23 Thread Claus Ibsen
Hi Thanks for the sample project. This is the http response I see now after a code-fix ~/workspace ❯ curl -i -X POST http://localhost:8080/test 8s HTTP/1.1 500 Content-Type: application/json Transfer-Encoding: chunked Date: Sat, 23 Mar 2024 08:02:31 GMT Connection: close { "status" : 1000,

Re: Svar: Re: Issue with unit or work and toV endpoint when Excetion thrown

2024-03-23 Thread Claus Ibsen
Hi https://issues.apache.org/jira/browse/CAMEL-20607 On Thu, Mar 21, 2024 at 1:03 PM Mikael Andersson Wigander wrote: > > Hi > > As simple as I get do it… > > https://github.com/hakuseki/demo-Camel-UoW > > > > /M > > > On Thursday, March 21st, 2024 at 11:09, Claus Ibsen > wrote: > > > Hi > >

Re: Svar: Re: Issue with unit or work and toV endpoint when Excetion thrown

2024-03-21 Thread Mikael Andersson Wigander
Hi As simple as I get do it… https://github.com/hakuseki/demo-Camel-UoW /M On Thursday, March 21st, 2024 at 11:09, Claus Ibsen wrote: > Hi > > Yeah if you keep it plain camel and not fancy spring boot stuff > > On Thu, Mar 21, 2024 at 11:06 AM Mikael Andersson Wigander >

Re: Svar: Re: Issue with unit or work and toV endpoint when Excetion thrown

2024-03-21 Thread Claus Ibsen
Hi Yeah if you keep it plain camel and not fancy spring boot stuff On Thu, Mar 21, 2024 at 11:06 AM Mikael Andersson Wigander wrote: > Spring boot OK? > > /M > > Den 21 mars 2024 kl 10:51, Claus Ibsen <[claus.ib...@gmail.com](mailto:Den > 21 mars 2024 kl 10:51, Claus Ibsen < skrev: > > > Hi >

Svar: Re: Issue with unit or work and toV endpoint when Excetion thrown

2024-03-21 Thread Mikael Andersson Wigander
Spring boot OK? /M Den 21 mars 2024 kl 10:51, Claus Ibsen <[claus.ib...@gmail.com](mailto:Den 21 mars 2024 kl 10:51, Claus Ibsen < skrev: > Hi > > Can you make something that is pure camel (not quarkus) that will help > > On Thu, Mar 21, 2024 at 7:56 AM Mikael Andersson Wigander > wrote: > >>

Re: Issue with unit or work and toV endpoint when Excetion thrown

2024-03-21 Thread Claus Ibsen
Hi Can you make something that is pure camel (not quarkus) that will help On Thu, Mar 21, 2024 at 7:56 AM Mikael Andersson Wigander wrote: > Here's a repo to use > > https://github.com/hakuseki/code-with-quarkus > > > > > /M > > > On Wednesday, March 20th, 2024 at 22:17, Claus Ibsen < >

Re: Issue with unit or work and toV endpoint when Excetion thrown

2024-03-21 Thread Mikael Andersson Wigander
Here's a repo to use https://github.com/hakuseki/code-with-quarkus /M On Wednesday, March 20th, 2024 at 22:17, Claus Ibsen wrote: > Hi > > Are you able to put together a smaller and simpler example with just routes > (no rest-dsl) that can let us quicker take a look and better

Re: Issue with unit or work and toV endpoint when Excetion thrown

2024-03-20 Thread Claus Ibsen
Hi Are you able to put together a smaller and simpler example with just routes (no rest-dsl) that can let us quicker take a look and better understand what is happening? On Mon, Mar 18, 2024 at 10:04 AM Mikael Andersson Wigander wrote: > Hi > > I have experienced a weird behavior in Camel

Issue with unit or work and toV endpoint when Excetion thrown

2024-03-18 Thread Mikael Andersson Wigander
Hi I have experienced a weird behavior in Camel 4.4.0 in Quarkus where the Exception handling is not executing as expected when using a toV(). In my code sample below everything starts with a rest call. If this rest call finish without errors then the original message should be returned. If an