Hi,

With JMS 2.0, new consumers exit
Shared durable subscriptions
JMSContext.createSharedDurableConsumer(Topic topic, String name)
JMSContext.createSharedDurableConsumer(Topic topic, String name,
String messageSelector)

Unshared durable subscriptions
JMSContext.createDurableConsumer(Topic topic, String name)
JMSContext.createDurableConsumer(Topic topic, String name, String
messageSelector, boolean noLocal)

Shared non-durable subscriptions
JMSContext.createSharedConsumer(Topic topic, String sharedSubscriptionName)
JMSContext.createSharedConsumer(Topic topic, String
sharedSubscriptionName, String messageSelector)

but the current implementation don't have this features.
may be add 2 checkboxes in the GUI
1 checkbox to select the Shared (true) or not Shared (false default)
1 checkbox to select the Durable (true) or not Durable (false default)

And change the
https://github.com/apache/jmeter/blob/222546caef3effb28e40906bc3a5e6d6104c16e8/src/protocol/jms/src/main/java/org/apache/jmeter/protocol/jms/sampler/Receiver.java

This source file could be a part or inspiration for the implementation
(createMessageConsumer)
https://www.programcreek.com/java-api-examples/?code=apache%2Fnifi%2Fnifi-master%2Fnifi-nar-bundles%2Fnifi-jms-bundle%2Fnifi-jms-processors%2Fsrc%2Fmain%2Fjava%2Forg%2Fapache%2Fnifi%2Fjms%2Fprocessors%2FJMSConsumer.java

Some one is interress for this evolution of JMS Protocol ?

Regards
Vincent DABURON

Reply via email to