Azure / Azure/azure-service-bus-java

Getting "ReactorDispatcher instance is closed" error when trying to close the azure service bus connection after receiving message

Open
#418 14 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
62
Forks
63
PR merge metrics
No merged PRs in 30d

Description

## Actual Behavior
1. When I read a message from azure service bus using ServiceBusReceiverClient, I am successfully receiving the message, but when I try to close the connection it says ReactorDispatcher instance is closed as an error.
2. I am using **receiver.close()** to close the connection after processing the received messages.
```
02:05:09,514 | ERROR | boundedElastic-6 | - - | ReactorDispatcher instance is closed.
02:05:09,514 | ERROR | parallel-1 | - - | ReactorDispatcher instance is closed.
```

## Expected Behavior
1. I should be able to close the connections after receiving the message successfully.

I am using:
```
2.4.11
7.4.1
```

## Versions
- OS platform and version: Mac OS 11.6
- Maven package version or commit ID: Apache Maven 3.2.5

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.