Strong JMS Subscription

Please help me in understanding expired subscriptions in JMS, I go through this link and came across a statement:

http://docs.oracle.com/javaee/1.3/jms/tutorial/1_3_1-fcs/doc/advanced.html#1024717

A strong subscriber registers a long-term subscription with a unique identity, which is maintained by the JMS provider. Subscriber objects with the same identifier renew the subscription in the state in which he left the previous subscriber. If the subscription is durable, there is no active subscriber, the JMS provider retains the subscription messages until they are received by the subscription or until they expire.

Is a subscriber and a long-term subscriber two different objects that exist simultaneously? Also, please help me, what does this statement mean?

+6
source share
1 answer

A subscriber (also known as a consumer) is an application that creates a subscription to receive publications (or messages) from a desired topic.

There are two types of subscribers:

Insecure Subscriber . This type of subscriber application will receive publications from the message provider if the application is running. As soon as the application ends, the message provider deletes the subscription.

Durable Subscriber . This is the second type of application that receives publications while they work. When the application ends, the message provider will cache publications for the subscriber and deliver them when the application returns.

+18
source

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


All Articles