jakartaee / messaging

Jakarta Messaging
https://eclipse.org/ee4j/messaging
Other
39 stars 32 forks source link

Specify an activation property for shared subscriptions #258

Open gtudan opened 4 years ago

gtudan commented 4 years ago

JMS 2.0 introduced an API for shared durable subscriptions (see section 8.3.4).

It would be nice to have a standardized activation property for this feature, so that MDBs can also utilize it. Section 13.1 (MDB activation properties) doesn't have anything like that.

ActiveMQ Artemis uses shareSubscriptions: https://github.com/apache/activemq-artemis/blob/2.11.0/artemis-ra/src/main/java/org/apache/activemq/artemis/ra/inflow/ActiveMQActivationSpec.java#L94

m-reza-rahman commented 3 years ago

Personally I think we should aim to do this for a modernized CDI based listener and not focus on MDB any more.

Reza Rahman Jakarta EE Ambassador, Author, Blogger, Speaker

Please note views expressed here are my own as an individual community member and do not reflect the views of my employer.

eolivelli commented 1 year ago

A similar feature is available in Apache Pulsar (using the Starlight for JMS binding)

https://github.com/datastax/pulsar-jms/blob/master/resource-adapter/src/main/java/com/datastax/oss/pulsar/jms/rar/PulsarActivationSpec.java#L48