Publishing and subscribing messages by using external messaging provider - JMS connector
Tutorial to publish and subscribe messages by using an external messaging provider and the JMS connector.
Before you begin
- Access to Universal Messaging.
- Universal Messaging must have a connection factory in the JNDI context.
- If you want to use Two-Way SSL, then the appropriate client certificate that is generated from IBM® webMethods Cloud Container must be uploaded in webMethods Integration under . For more information about client certificate, see Two-Way SSL and Messaging in IBM webMethods Cloud Container documentation.
About this task
To publish and subscribe messages by using the JMS connector.
- Create publishers - Create a flow service, say publish_flowservice to publish the messages to topic, JMSTopic.
- Create subscribers - Create a subscriber, say JMSsubscriber, which subscribes to JMSTopic and runs a flow service, JMSTopic_consumer_flowService , to consume the messages.
- Publish messages - Run the publisher and view the consumer flow service execution logs.
Creating publishers
Procedure
Creating subscribers
About this task
You can create the consumer flow service in one of the following ways:
- Directly from the flow services page.
- Create the flow service when you create a subscriber. The subscriber listens to messages that the topic receives. If the topic receives messages, then the consumer flow service in the subscriber runs automatically.
Here, the steps are explained to create the JMSTopic_consumer_flowService using Messaging.