Publishing using the JMS adapter
The JMS adapter can publish data from a JMS destination onto topics in the Diffusion™ topic tree.
Publishing data from a JMS destination onto a Diffusion topic
You can configure the JMS adapter to subscribe to a JMS destination and to associate that subscription with a Diffusion 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 message. For more information, see Transforming JMS messages into Diffusion messages or updates.
- The JMS adapter publishes the transformed message to the Diffusion topic.
- Diffusion clients that are subscribed to the Diffusion topic receive the transformed message.
Publishing data from a Diffusion 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.