davsclaus commented on code in PR #27740:
URL: https://github.com/apache/camel/pull/27740#discussion_r4251270709
##########
components/camel-nats/src/test/java/org/apache/camel/component/nats/integration/NatsProducerReplyToTimeoutIT.java:
##########
@@ -28,7 +28,7 @@
public class NatsProducerReplyToTimeoutIT extends NatsITSupport {
protected String startUri = "direct:start";
- protected String middleUri = "nats:foo.middle?requestTimeout=50";
+ protected String middleUri = "nats:foo.middle.timeout?requestTimeout=50";
Review Comment:
The rename is fine. The `CancellationException` in the JIRA comes from a
NATS 503 *no responders* reply, though (jnats cancels the request future in
`deliverReply`). That means this route's own consumer was not subscribed yet.
Could you also add `waitForNatsConsumers(1);` at the start of
`testReplyToTimeout()`, like `NatsProducerReplyToIT` does?
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]