LibraryLink ToToggle FramesPrintFeedback

About the Exploring JMS Samples

In these samples, the standard input and standard output displayed in the console represents data flows to and from applications and Internet-enabled devices such as:

[Note]Note

The samples assume that you are using the default FUSE Message Broker setup, which does not enable security; as such, user names in the samples are arbitrary and not authenticated.

The samples demonstrate the basic JMS features, as follows:

  • Publish and Subscribe Messaging Samples— Basic messaging behaviors of the Pub/Sub messaging model are demonstrated:Chat, DurableChat, HierarchicalChat, MessageMonitor, MessageMonitor, SelectorChat, TransactedChat

  • Point-to-point Messaging Samples — Similar basic messaging behaviors of the PTP messaging model are demonstrated:Talk, QueueMonitor, SelectorTalk, TransactedTalk

  • Request and Reply — These transacted examples show the mechanisms for the producer requesting a reply and the consumer fulfilling that request:

    • Originator’s Request Requestor (PTP, Pub/Sub)

    • Receiver’s Response Replier (PTP, Pub/Sub)

  • Test Loop — This sample shows how quickly messages can be sent and received in a test loop: QueueRoundTrip (PTP)