Open Hooghof opened 4 weeks ago
This can be reproduced with this small route:
<routes id="camel" xmlns="http://camel.apache.org/schema/spring">
<route id="1">
<from uri="jetty:http://0.0.0.0:9001/test"/>
<to uri="seda:2?exchangePattern=InOnly"/>
</route>
<route id="2">
<from uri="seda:2"/>
<setBody>
<constant>Y</constant>
</setBody>
</route>
</routes>
It's however unclear why this is the case. When changing the transport to Synchronous or Queues it works. There is no error in the logs. Asked about this on the Camel forum and put this on hold for now.
This should be solved in the next Camel version:
If call the test flow below a few times times after each other, one time the output is as expected, the other time the output is duplicated or multiplied.
Test flow Instance: next Tenant: Regression tests Flow: ExchangeInOnlyAsynchronous Postman test: ExchangeInOnly Asynchronous