...
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
{
"Components": [
{
"componentName": "eagle-amq", /* do NOT use underscore character ("_") in name*/
"componentClass": "org.apache.activemq.camel.component.ActiveMQComponent", /* class of JMS component */
"connectionFactory": "#{wrapper:amqconnPool_native}"
},
{
"componentName": "eagle-wmq", /* do NOT use underscore character ("_") in name*/
"componentClass": "org.apache.camel.component.jms.JmsComponent", /* class of JMS component */
"connectionFactory": "#{wrapper:connPool[wmqConnFactory]}"
}
//============================ Components with SSL ==================================
,
{
"componentName": "wmqssl", /* do NOT use underscore character ("_") in name*/
"componentClass": "org.apache.camel.component.jms.JmsComponent", /* class of JMS component */
"connectionFactory": "#{cf:wmqConnFactorySSL}"
}
,
{
"componentName": "eagle-amqssl", /* do NOT use underscore character ("_") in name*/
"componentClass": "org.apache.activemq.camel.component.ActiveMQComponent", /* class of JMS component */
"connectionFactory": "#{cf:amqConnFactorySSL}"
}
]
,
"ConnectionFactories": {
"wmqConnFactory": { "class": "com.ibm.mq.jms.MQQueueConnectionFactory" }
,
"amqConnFactory": { "class": "org.apache.activemq.ActiveMQConnectionFactory" }
,
"wmqConnFactorySSL": { "class": "com.ibm.mq.jms.MQQueueConnectionFactory",
"parameters": { "SSLFipsRequired" : false ,
"SSLSocketFactory": "#{instance:SSLSocketFactory}" ,
"SSLCipherSuite" : "TLS_RSA_WITH_AES_128_CBC_SHA256"
}
}
,
"amqConnFactorySSL": { "class": "org.apache.activemq.ActiveMQSslConnectionFactory",
"parameters": { "KeyAndTrustManagers": "#{instance:KeyAndTrustManagers}" }
}
}
,
"Wrappers": {
"connPool<T>": { "class": "org.springframework.jms.connection.CachingConnectionFactory",
"parameters": { "setTargetConnectionFactory": "#{cf:<T>}",
"setSessionCacheSize": "10"
},
"init_method": "afterPropertiesSet",
"destroy_method": "by default"
}
,
"amqconnPool": { "class": "org.springframework.jms.connection.CachingConnectionFactory",
"parameters": { "TargetConnectionFactory": "#{cf:amqConnFactory}",
"SessionCacheSize": "10"
},
"init_method": "afterPropertiesSet",
"destroy_method": "by default"
}
,
"amqconnPool_native": { "class": "org.apache.activemq.pool.PooledConnectionFactory",
"parameters": { "ConnectionFactory": "#{cf:amqConnFactory}",
"MaxConnections": "20",
"MaximumActiveSessionPerConnection": "10"
},
"init_method": "start",
"destroy_method": "stop"
}
}
}
|
...
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
{
"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.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"
}
]
}
|
...