- Enable the JMS Messaging feature on MC2:
How to | application.yml |
---|---|
enable JMS | eagle: enable: # enable JMS messaging system |
2. Make a low-level (common) configuration for JMS:
This document describes all basic concepts and configurations. Also it explains the meanings of configuration parameters.
For well known JMS providers, there are pre-configured templates:
In case of Apache ActiveMQ:
MC2 JMS Configuration for ActiveMQ
In case of IBM WebSphereMQ:
MC2 JMS Configuration for IBM WebSphere MQ
3. Create Eagle Stream to finally configure JMS Messaging :
Eagle JMS Stream configurations
At this point basic JMS Messaging configuration is completed.
4. Restart MC2 to apply all these configuration settings.
5. Optional. To send messages from rules to queue/topic, MC2 provides the SendAdapter rule item:
The following protocols are reserved for JMS messaging: eaglejms-stream , eaglejms
Not supported
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