Hi @Lachezar Dobrev It seems that you're using a Shared
non-durable subscriptions, can you try using Unshared non-durable subscriptions
instead?
Service Bus Topic subscriber scaling

Using a Topic in Service Bus via JMS+Spring.
The application uses @JmsListener to link to the topic.
I've created a non-durable, shared, pub-sub JmsListenerContainerFactory to use for that purpose.
The application works as expected when only one instance is deployed, but scaling the application ends up in every message to the topic being delivered to only one unpredictable subscriber instance, rather than all.
This turns the topic into what is effectively a queue, which is not expected.
How to configure the JMS topic/subscriber/listeners/factories/etc., so that multiple instances of the application would receive all the messages sent to/via the topic?
Azure Service Bus
Azure Spring Apps
1 answer
Sort by: Most helpful
-
MikeUrnun 9,777 Reputation points Moderator
2020-10-09T04:41:58.597+00:00