Step 1:
Enable JMS Messaging feature on MC2:
How to | application.yml |
---|---|
enable JMS | eagle: enable: # enable JMS messaging system |
Step 2:
Now we have to make a low-level (common) configuration for JMS:
...
MC2 JMS Configuration for IBM WebSphere MQ
Step 3:
Now it is time to create Eagle Stream to get JMS Messaging finally configured:
Eagle JMS Stream configurations
Step 4:
At this point basic JMS Messaging configuration is completed.
You have to restart MC2 to apply all these configuration settings.
Step 5 (optional):
To send messages from rules to queue/topic, MC2 provides the SendAdapter rule item:
Following protocols are reserved for JMS messaging: eaglejms-stream , eaglejms
Note | ||
---|---|---|
| ||
eaglejms - protocol is not supported yet |
Type of jms messaging is defined by stream direction, see Eagle JMS Stream Configurations, and name of stream should be used as part of URI, for example:
eaglejms-stream:jms-test_activemq-producer-stream
where:
• eaglejms-stream - protocol
• jms-test_activemq-producer-stream - name of stream