Uploaded image for project: 'ActiveMQ'
  1. ActiveMQ
  2. AMQ-3917

ActiveMQ should support multiple durable subscriptions per Stomp client

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.5.1, 5.6.0
    • Fix Version/s: 5.7.0
    • Component/s: Broker, stomp
    • Labels:
      None
    • Environment:

      linux, solaris

      Description

      This is coming from AMQ-3802.

      Quoting Timothy - "This is another limitation of the Stomp support which allows for only one durable subscription since clientId and subscription name are linked. This is because the Stomp v1.0 spec didn't require that you assign unique Ids to subscriptions, so the correlation is made per connection using the matching clientId and subscription name. You can work around this by creating a connection for each durable subscriber."

      Now, since ActiveMQ v5.6.0 supports Stomp v1.1 which has made the id header mandatory for subscribe and unsubscribe calls, we should leverage this feature and allow for multiple durable subscriptions per stomp client. Hacks like creating a separate connection for each durable subscriber should be avoided.

      Let me know if you have any queries?

      Thanks,
      Bhanu

        Attachments

          Activity

            People

            • Assignee:
              tabish121 Timothy Bish
              Reporter:
              xbhanu Bhanu
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: