...
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}" //"#{cf:amqConnFactory}" }, { "componentName": "wmq", /* do NOT use underscore character ("_") in name*/ "componentClass": "org.apache.camel.component.jms.JmsComponent", /* class of JMS component */ "connectionFactory": "#{wrapper:connPool[wmqConnFactory]}"//"#{cf: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": { //*** reference: cf "wmqConnFactory": { "class": "com.ibm.mq.jms.MQQueueConnectionFactoryMQConnectionFactory" } , "amqConnFactory": { "class": "org.apache.activemq.ActiveMQConnectionFactory", } , "wmqConnFactorySSLparameters": { "classUserName": "com.ibm.mq.jms.MQQueueConnectionFactory", #{stream:USERID}", "parameters": { "SSLFipsRequired" : false , "Password": "#{stream:USERPASSWORD}" } } , "wmqConnFactorySSL": { "SSLSocketFactoryclass": "#{instance:SSLSocketFactory}" ,com.ibm.mq.jms.MQConnectionFactory", "parameters": { "SSLFipsRequired" : false , "SSLSocketFactory": "#{instance:SSLSocketFactory}" , "SSLCipherSuite" : "TLS_RSA_WITH_AES_128_CBC_SHA256" } } , "SSLCipherSuiteamqConnFactorySSL": { "class": "TLS_RSA_WITH_AES_128_CBC_SHA256"org.apache.activemq.ActiveMQSslConnectionFactory", "parameters": { "KeyAndTrustManagers": "#{instance:KeyAndTrustManagers}", } } , "UserName": "#{stream:USERID}", "amqConnFactorySSL": { "class": "org.apache.activemq.ActiveMQSslConnectionFactory", "parameters": { "KeyAndTrustManagersPassword": "#{instancestream:KeyAndTrustManagersUSERPASSWORD}" } } } , "Wrappers": { "connPool<T>": { "class": "org.springframework.jms.connection.CachingConnectionFactory", // #{wrapper:connPool[wmqConnFactory]} "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" } } } |
...