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: > >>