Re: Saga with LRA service not executing comp* routes

2024-05-13 Thread Zheng Feng
I open https://github.com/MikaelAnderssonWigander/lra-test/pull/2 On Mon, May 13, 2024 at 3:59 PM Mikael Andersson Wigander wrote: > Hi > > Thanks but now I can’t connect to the service. > ConnectException. > > Old create a PR with a working sample so I know what to change? > > /M > > Den 13 maj

Re: Saga with LRA service not executing comp* routes

2024-05-13 Thread Mikael Andersson Wigander
Hi Thanks but now I can’t connect to the service. ConnectException. Old create a PR with a working sample so I know what to change? /M Den 13 maj 2024 kl 09:32, Zheng Feng <[zf...@redhat.com](mailto:Den 13 maj 2024 kl 09:32, Zheng Feng < skrev: > Sorry, your project is good and the problem is

Re: Svar: Re: Svar: Re: Saga with LRA service not executing comp* routes

2024-05-13 Thread Zheng Feng
Sorry, your project is good and the problem is the way you run the narayana lra coordinate server. It needs access to the participant url to complete or compensate the translation. So you have to run docker with the host network. Please try "docker run --network host -e QUARKUS_HTTP_PORT=8180 quay

Re: Svar: Re: Svar: Re: Saga with LRA service not executing comp* routes

2024-05-12 Thread Zheng Feng
Thanks and it looks like there are some configuration issues. please check https://camel.apache.org/components/4.4.x/others/lra.html Also there is no need to add LRASagaService, we can add it automatically if camel-quarkus-lra is in classpath. So I create PR https://github.com/MikaelAnderssonWigan

Svar: Re: Svar: Re: Saga with LRA service not executing comp* routes

2024-05-12 Thread Mikael Andersson Wigander
Hi Check out https://github.com/MikaelAnderssonWigander/lra-test /M Den 11 maj 2024 kl 12:16, Mikael Andersson Wigander <[mikael.andersson.wigan...@pm.me.INVALID](mailto:Den 11 maj 2024 kl 12:16, Mikael Andersson Wigander < skrev: > Of course I need to isolate the code and create a sample re

Svar: Re: Svar: Re: Saga with LRA service not executing comp* routes

2024-05-11 Thread Mikael Andersson Wigander
Of course I need to isolate the code and create a sample repo. I’ll be back /M Den 11 maj 2024 kl 11:59, Zheng Feng <[zf...@redhat.com](mailto:Den 11 maj 2024 kl 11:59, Zheng Feng < skrev: > OK, is it possible to share your project and I can take a deep look at it? > > On Sat, May 11, 2024 at

Re: Svar: Re: Saga with LRA service not executing comp* routes

2024-05-11 Thread Zheng Feng
OK, is it possible to share your project and I can take a deep look at it? On Sat, May 11, 2024 at 5:34 PM Mikael Andersson Wigander wrote: > I use Quarkus but that shouldn’t be a reason I’d say. > > The service running in my docket locally for the moment. > > I have required properties set, I s

Svar: Re: Saga with LRA service not executing comp* routes

2024-05-11 Thread Mikael Andersson Wigander
I use Quarkus but that shouldn’t be a reason I’d say. The service running in my docket locally for the moment. I have required properties set, I see that the service register the request and receives an id and the logs in the lra service is logging completion and closing. Everything work if us

Re: Saga with LRA service not executing comp* routes

2024-05-11 Thread Zheng Feng
What runtime framework did you use? spring-boot or quarkus? And have you set some properties with "camel.lra.coordinator-url" and "camel.lra.local-participant-url" ? The LRA service is running on the same network with your application? it should access the internal rest paths and route to the righ

Saga with LRA service not executing comp* routes

2024-05-11 Thread Mikael Andersson Wigander
Hi When using the saga component together with in memory lra service the calls to the compensation and completion routes are executed. This I can se when debugging and logging. But when I switch to using the LRA service (docker image from JBOSS) the routes completion and compensation routes ar