We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2dc1aea commit 8fb1b67Copy full SHA for 8fb1b67
src/com/rabbitmq/client/impl/AMQChannel.java
@@ -153,13 +153,17 @@ public void handleCompleteInboundCommand(AMQCommand command) throws IOException
153
public void enqueueRpc(RpcContinuation k)
154
{
155
synchronized (_channelMutex) {
156
+ boolean wasInterrupted = false;
157
while (_activeRpc != null) {
158
try {
159
_channelMutex.wait();
160
} catch (InterruptedException e) {
- Thread.currentThread().interrupt();
161
+ wasInterrupted = true;
162
}
163
164
+ if (wasInterrupted) {
165
+ Thread.currentThread().interrupt();
166
+ }
167
_activeRpc = k;
168
169
0 commit comments