Closed 62mkv closed 3 years ago
Make sure to configure the connection factory to use NIO:
ConnectionFactory connectionFactory = new ConnectionFactory();
connectionFactory.useNio();
SenderOptions senderOptions = new SenderOptions()
.connectionFactory(connectionFactory);
Resources:
I see.. well, as discussed in #145 , we can not (for whichever reason) use NIO, so I'll close this one. thanks for your support @acogoluegnes !
BlockHound throws a
Blocking call!
exception when publisher, created withSender::sendWithPublisherConfirms
is requestedExpected Behavior
I would expect (although it might be wrong expectation) that
reactor-rabbimq
would not use blocking operations.Actual Behavior
Exception is thrown by BlockHound when tests are executed; with the following stack trace:
Steps to Reproduce
This is the production code that causes the issue: