...
To configure MC2 to consume messages from a queue and process messages in parallel:
- Configure the non- pooled connection to WebSphere or ActiveMQ in a .json file in estar/tpe/dynamic/mc2/eaglejms/connections. The following non-pooled ComponentNames for ActiveMQ and WebSphere MQ are defined in the Eagle MC2 out of the box: wmq-no-pool, wmqssl-no-pool, wmq-tds, eagle-amq-tds, eagle-amqssl-no-pool and eagle-amq-no-pool. For example for ActiveMQ, create a amq.json file with the following content:
Code Block language js theme DJango title ActiveMQ Non-pooled Pooled Connection Configuration linenumbers true { "Region": "BND13XLN", /*Oracle SID of region name to which this config belongs */ "Connections": [ { "ConnectionName": "activemq.nopoolpool", /* name of ActiveMQ connection to be used in the stream*/ "ComponentName": "eagle-amq-no-pool", /* name of component */ "Parameters": { "brokerURL": "tcp://eglwwvm22.eagleinvsys.com:61616" /* connection url */ } ] }
You can note that we use the eagle-amq-no-pool Eagle Eagle defined core component. If the connection should be encrypted, set ComponentName to eagle-amqssl-no-pool.
...
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
{ "ConnectionName": "wmq.nopoolpool", "ComponentName": "wmq-no-pool", "Parameters": { "transportType": 1, "port": 1414, "channel": "S_eglwwvm24c", "queueManager": "QM_eglwwvm24c", "HostName": "10.130.36.42" } } |
The ComponentName for non- pooled connections is wmq-no-pool. If an SSL connection has to be used use wmqssl-no-pool.
...