LibraryLink ToToggle FramesPrintFeedback

Running Publish and Subscribe Messaging Samples

The tour starts with features of Publish and Subscribe messaging.

This series of samples explores basic subscriptions, durable subscriptions, wildcards in topic hierarchies, filtered subscriptions, and batching in transacted sessions.

To run the DurableChatting sample do the following:

[Important]Important

While some applications tolerate multiple instances of the same user producing or consuming on the same destination, running a second instance of one of these DurableChatter scripts fails (as it should) with the error (in the broker’s console window):

InvalidClientIDException:
Broker:localhost, Client:DurableChatter_n already connected