Why does a reliable jms subscriber require both a client identifier and a subscriber name?

What is the advantage of having a customer identifier and a subscriber name in the case of a reliable subscriber.

+4
source share
1 answer

While the customer identifier identifies the JMS consumer, the subscription name identifies the subscription created by this user.

A customer may have more than one long-term subscription. The JMS provider uses both the customer identifier and the subscription name to create the identifier to uniquely identify each long-term subscription from the customer. Therefore, a customer identifier and a subscription name are required. This unique identifier is required to renew your subscription to this topic when you reconnect the client.

+2
source

Source: https://habr.com/ru/post/1657814/


All Articles