CorrelationData getFuture behaviour?

79 views
Skip to first unread message

Midas van Oene

unread,
Jan 4, 2022, 5:51:42 AM1/4/22
to rabbitmq-users
Hi quick question regarding the CorrelationData getFuture in the context of publisher confirms.
You're able to get the result of the future by using the get with and without a timeout. How does it handle the get without a timeout, does it wait indefinitely or is there a default max timeout configured somewhere? I've searched the docs and the code but couldn't verify this.

Thanks

Arnaud Cogoluègnes

unread,
Jan 4, 2022, 7:45:14 AM1/4/22
to rabbitmq-users
Please ask questions on Spring AMQP on Stack Overflow [1].

Based on some code browsing, I'd say a call to SettableListenableFuture#get() will wait indefinitely, unless it's interrupted.

Reply all
Reply to author
Forward
0 new messages