Publishing using the JMS adapter
The JMS adapter can publish data from a JMS destination onto topics in the Diffusion™ Cloud topic tree.
Publishing data from a JMS destination onto a Diffusion Cloud topic
You can configure the JMS adapter to subscribe to a JMS destination and to associate that subscription with a Diffusion Cloud topic.
- A message is published to the JMS destination.
- The JMS adapter receives the JMS message.
- The JMS adapter transforms the JMS message into a Diffusion Cloud message. For more information, see Transforming JMS messages into Diffusion Cloud messages or updates.
- The JMS adapter publishes the transformed message to the Diffusion Cloud topic.
- Diffusion Cloud clients that are subscribed to the Diffusion Cloud topic receive the transformed message.
Publishing data from a Diffusion Cloud topic to a JMS destination
You can configure the JMS adapter to publish data from Diffusion topics to JMS destinations. See Configuring the JMS adapter for more details.
Any updates from Diffusion topics will be published to the JMS destination in TextMessage format. Depending on your configuration, the sessionId or principal of the session can be used as the JMSCorrelationID of the message. In addition, the adapter can be configured to pass user-defined properties in the created message.