Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

...

...

...

...

...

...

...

...

...

...

...

Step 1:

...

  1. Enable the JMS Messaging feature on MC2:

How to

application.yml

enable JMS

eagle:

    enable:

       # enable JMS messaging system
       jms: true

Step 2:

...

2. Make a low-level (common) configuration for JMS:

See  JMS Configurations

...

 (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:

...

For Apache ActiveMQ:

MC2 JMS Configuration for ActiveMQ

...

For IBM WebSphereMQ:

...

JMS

...

Configurations for IBM WebSphere MQ

Step 3:

...

3. Create Eagle Stream to

...

finally configure JMS Messaging

...

:

Create Eagle JMS Stream

...

Configurations

Step 4:

At this point basic JMS Messaging configuration is completed.

You have to restart 4. 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:

...

Info

The eaglejms-stream protocol is reserved for JMS messaging. The eaglejms protocol is not supported.

Info

The type of JMS messaging is defined by stream direction. See Create Eagle JMS Stream Configurations. The name of stream is 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