ffang commented on pull request #2524: URL: https://github.com/apache/camel-quarkus/pull/2524#issuecomment-828699620
> > the expected return value is 4 instead of 3 > > I believe it should be 3. We attempt to create 4 orders, but one will end up as cancelled and the LRA will be rolled back. If you're seeing 4 as the result, it means the compensation `direct:cancelOrder` route is not being invoked. That's why the LRA container needs access to the host application, because it triggers the compensation actions. Thanks @jamesnetherton for the quick reply! Yes, I got your point. Instead of using localhost for the callback host, we need to use host.docker.internal for mac, and docker0 for linux machine We need change like ``` - String.format("http://localhost:%s", System.getProperty("quarkus.http.test-port", "8081"))); + String.format("http://%s:%s", "host.docker.internal", + System.getProperty("quarkus.http.test-port", "8081"))); ``` I will push another commit. Freeman -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org