Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
4.4.0, 4.4.1, 4.4.2
-
None
-
Unknown
-
Regression
Description
In version 4.4.0 or later of azure-servicebus, there seems to be an issue where the Service Bus listener continues running even after killing the route. This behavior is different from version 4.3.0, where the listener stops as expected after the route is killed.
Reproduction Steps:
- Open the attached intellij project
- Set connectionString value in AzureServiceBusRoute.java
- Run the DemoApplication.java
- Let it run for a while to ensure connection is active after starting the route
- After killing the route connection is lost and reconnecting again
- Observe that the listener still continues to receive messages despite the route being stopped.
- Compare this behavior with version 4.3.0(azure-messaging-servicebus:7.14.7), where the listener stops as expected after killing the route.
- Uncomment respective dependencies in build.gradle file and see it is working in older version(azure-messaging-servicebus:7.14.7)
Expected Behavior:
After stopping the Camel route, the Service Bus listener should also stop receiving messages, as observed in version 4.3.0.
Actual Behavior:
Even after stopping the Camel route, the Service Bus listener continues to receive messages, indicating that it's still active.
This behavior appears to be a regression of bug https://issues.apache.org/jira/browse/CAMEL-19262 of azure-servicebus.
Attachments
Attachments
Issue Links
- relates to
-
CAMEL-19262 camel-azure-eventbus - Apache Camel wrapper for Service Bus stops receiving message.
- Resolved
-
CAMEL-20660 camel-azure-servicebus: Consumer fails to acknowledge messages
- Resolved
-
CAMEL-20266 camel-azure-eventbus - Use high-level client (ServiceBusProcessorClient)
- Resolved