Versions Compared

Key

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

...

Code Block
languagejs
themeRDark
titleconnections.json
linenumberstrue
{ 
    "Region": "Specific Oracle SID of the region", /*Specific Oracle SID of region name to which this config belongs*/
    "Connections": [
        { //
First connection config             "ConnectionName": "mywmq.connection", /* do NOT use underscore character ("_") in name*/
            "ComponentName": "wmq", /* reference to component name defined in components.json */
            "Parameters": { // Some specific parameters
    			"port": 1415,
    			"ctransportType": 1 ,
    			"clientID": "client ID" /* sets Client ID */
            },
            /* JNDI has a higher priority: if not null then this object will be used as a JMS
               connection factory */
            "JndiConnectionFactory": "my.jndi.connection.factory1"
        },
     ]
  {// Second connection config
            "ConnectionName": "my.jndi.wmq.connection", /* do NOT use underscore character ("_") in name*/
            "ComponentName": "wmq", /* reference to component name defined in components.json */
            "Parameters": { // Some specific parameters
    			"transportType": 1,
			"port": 1414,
			"channel": "",
			"queueManager": "",
			"HostName": ""
            }
            /* JNDI has a higher priority: if not null then this object will be used as a JMS connection factory */
            "JndiConnectionFactory": "my.jndi.connection.factory"
        }
     ]
}
Note
titleFuture implementation

JndiConnectionFactory - property is not supported yet.

...

}


Note
titleFuture implementation

JndiConnectionFactory - property is not supported yet.


In case if you suddenly for some reason need to make a JMS Connection configuration for more than one JMS Component (for instance, you need to interract with couple of JMS brokers),

...

Code Block
languagejs
themeRDark
titleconnections.json
linenumberstrue
{ 
    "Region": "Specific Oracle SID of the region", /*Specific Oracle SID of region name to which this config belongs*/
    "Connections": [
        { // First connection config
            "ConnectionName": "my.FIRST.amq.connection", /* do NOT use underscore character ("_") in name*/
            "ComponentName": "amq", /* reference to component name defined in components.json */
            /* JNDI has a higher priority: if not null then this object will be used as a JMS connection factory */
            //"JndiConnectionFactory": "my.jndi.connection.factory",
            "Parameters": {
                "brokerURL": "tcp://*****.eagleinvsys.com:61616" /* connection url (AMQ): Host name or IP + port */
            }
        },
        
        { // Second connection config
            "ConnectionName": "my.SECONDjndi.amqwmq.connection", /* do NOT use underscore character ("_") in name*/
            "ComponentName": "amqwmq", /* reference to component name defined in components.json */
            /* JNDI has a higher priority"Parameters": if{ not// nullSome thenspecific thisparameters
object will be used as a JMS connection factory */
    			"transportType": 1,
				"port": 1414,
				"channel": "",
				"queueManager": "",
				"HostName": ""
        //"JndiConnectionFactory": "my.jndi.connection.factory",   }
         "Parameters": {  /* JNDI has a higher priority: if not null then this object will be used "brokerURL": "tcp://*****.eagleinvsys.com:61616" /*as a JMS connection urlfactory */
             }"JndiConnectionFactory": "my.jndi.connection.factory"
        }
     ]
}


We should pay attention to some moments:

...