Uploaded image for project: 'Spring Integration'
  1. Spring Integration
  2. INT-3567

Implement JMS 2.0 shared subscriptions

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: None
    • Fix Version/s: 4.2 RC1
    • Component/s: JMS Support
    • Labels:

      Description

      JMS 2.0 has the feature of 'shared topic subscriptions', meaning two subscribers share a subscription and only one of them processes the messages. This is useful for situations where you need a pub-sub mechanism yet you want to have multiple instances of a single listener for failover/load balancing purposes, without having to filter out "duplicates" yourself in application code.

      More info on shared topic subscriptions: http://www.oracle.com/technetwork/articles/java/jms2messaging-1954190.html

      This is already implemented in Spring JMS:
      http://docs.spring.io/spring/docs/current/javadoc-api/org/springframework/jms/listener/AbstractMessageListenerContainer.html#setSubscriptionShared-boolean-

      It would be useful to have this property exposed on the publish-subcribe-channel as well.

        Attachments

          Activity

            People

            Assignee:
            grussell Gary Russell
            Reporter:
            jensdt Jens De Temmerman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: