...
- Configure the pooled connection to WebSphere or ActiveMQ in a .json file in estar/tpe/dynamic/mc2/eaglejms/connections. The following 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 DJangoRDark title ActiveMQ Pooled Connection Configuration linenumbers true { "Region": "BND13XLN", /*Oracle SID of region name to which this config belongs */ "Connections": [ { "ConnectionName": "activemq.pool", /* name of ActiveMQ connection to be used in the stream*/ "ComponentName": "eagle-amq", /* name of component */ "Parameters": { "brokerURL": "tcp://eglwwvm22.eagleinvsys.com:61616" /* connection url */ } ] }
You can note that we use the eagle-amq Eagle defined core component. If the connection should be encrypted, set ComponentName to eagle-amqssl-no-pool.
...
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
{ "ConnectionName": "wmq.pool", "ComponentName": "wmq", "Parameters": { "transportType": 1, "port": 1414, "channel": "S_eglwwvm24c", "queueManager": "QM_eglwwvm24c", "HostName": "10.130.36.42" } } |
...
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
{ "ConnectionName": "wmq.pool", "ComponentName": "wmq", "Parameters": { "transportType": 1, "port": 1414, "channel": "S_eglwwvm24c", "queueManager": "QM_eglwwvm24c", "HostName": "10.130.36.42" } } |
...