generated from micronaut-projects/micronaut-project-template
-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
Feature description
Looking through the micronaut-jms code it seems that all topics/queue listeners use the createConsumer JMS API to create a JMSConsumer, and there is no ability to configure it to use any other API such as shared durable consumer.
In order to integrate with Azure Service bus topics, we need to create a shared durable subscriber on the topic.
e.g
Topic topic = jmsContext.createTopic("myTopic");
JMSConsumer sharedDurableConsumer = jmsContext.createSharedDurableConsumer(topic, "mySubscription");
It would be great to support different consumer types, i.e shared durable, unshared durable etc.