...
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
{ "Components": [ //* ActiveMQ: { "componentName": "eagle-amq", "componentClass": "org.apache.activemq.camel.component.ActiveMQComponent", "connectionFactory": "#{wrapper:amqconnPool_native[amqConnFactory]}" //"#{cf:amqConnFactory}" }, { "componentName": "wmqeagle-amq-tds", "componentClass": "org.apache.activemq.camel.component.jms.JmsComponentActiveMQComponent", "connectionFactory": "#{wrapper:connPool[wmqConnFactorysingle_amqconnPool_native[amqConnFactoryTds]}" //"#{cf:wmqConnFactoryamqConnFactory}" }, { //============================ Components with SSL ================================== , "componentName": "eagle-amq-no-pool", "componentClass": "org.apache.activemq.camel.component.ActiveMQComponent", "connectionFactory": "#{wrapper:single_amqconnPool_native[amqConnFactory]}" }, //* IBM WebSphere MQ (IBM MQ): { "componentName": "wmq", "componentClass": "org.apache.camel.component.jms.JmsComponent", "connectionFactory": "#{wrapper:connPool[wmqConnFactory]}"//"#{cf:wmqConnFactory}" }, { "componentName": "wmq-tds", "componentClass": "org.apache.camel.component.jms.JmsComponent", "connectionFactory": "#{wrapper:single_connPool[wmqConnFactory]}"//"#{cf:wmqConnFactory}" }, { "componentName": "wmq-no-pool", "componentClass": "org.apache.camel.component.jms.JmsComponent", "connectionFactory": "#{cf:wmqConnFactory}" } //============================ Components with SSL ================================== , { "componentName": "wmqssl", "componentClass": "org.apache.camel.component.jms.JmsComponent", "connectionFactory": "#{wrapper:connPool[wmqConnFactorySSL]}" }, { "componentName": "wmqssl-no-pool", "componentClass": "org.apache.camel.component.jms.JmsComponent", "connectionFactory": "#{cf:wmqConnFactorySSL}" }, { "componentName": "eagle-amqssl", "componentClass": "org.apache.activemq.camel.component.ActiveMQComponent", "connectionFactory": "#{wrapper:amqconnPool_native[amqConnFactorySSL]}" }, { "componentName": "eagle-amqssl-no-pool", "componentClass": "org.apache.activemq.camel.component.ActiveMQComponent", "connectionFactory": "#{cf:amqConnFactorySSL}" } ] , "ConnectionFactories": { //*** reference: cf "wmqConnFactory": { "class": "com.ibm.mq.jms.MQConnectionFactory" } , "amqConnFactory": { "class": "org.apache.activemq.ActiveMQConnectionFactory", "parameters": { "UserName": "#{stream:USERID}", "Password": "#{stream:USERPASSWORD}"} } , "amqConnFactoryTds": { "class": "org.apache.activemq.ActiveMQConnectionFactory", //* AMQ connection factory for topic durable subscription "parameters": { "UserName": "#{stream:USERID}", "Password": "#{stream:USERPASSWORD}", "ClientID": "#{stream:CLIENT_ID}" } } , "wmqConnFactorySSL": { "class": "com.ibm.mq.jms.MQConnectionFactory", "parameters": { "SSLFipsRequired" : false , "SSLSocketFactory": "#{instance:SSLSocketFactory}" , "SSLCipherSuite" : "TLS_RSA_WITH_AES_128_CBC_SHA256" } } , "amqConnFactorySSL": { "class": "org.apache.activemq.ActiveMQSslConnectionFactory", { "componentName": "wmqssl", "parameters": { "componentClassKeyAndTrustManagers": "org.apache.camel.component.jms.JmsComponent", #{instance:KeyAndTrustManagers}", "connectionFactory": "#{cf:wmqConnFactorySSL}" } , { "componentNameUserName": "eagle-amqssl#{stream:USERID}", "componentClass": "org.apache.activemq.camel.component.ActiveMQComponent", "connectionFactory": "#{cf:amqConnFactorySSL}" } ] , "ConnectionFactoriesPassword": { //*** reference: cf"#{stream:USERPASSWORD}" } "wmqConnFactory":} { "class": "com.ibm.mq.jms.MQConnectionFactory" } } , "Wrappers": ,{ "amqConnFactoryconnPool<T>": { "class": "org.apachespringframework.jms.activemqconnection.ActiveMQConnectionFactoryCachingConnectionFactory", // #{wrapper:connPool[wmqConnFactory]} "parameters": { "UserNamesetTargetConnectionFactory": "#{streamcf:USERID<T>}", "setSessionCacheSize": "100" "Password": "#{stream:USERPASSWORD}" } }, } , "wmqConnFactorySSL": { "classinit_method": "com.ibm.mq.jms.MQConnectionFactoryinitConnection", "parameters"destroy_method": {"by default"SSLFipsRequired" : false , } , "SSLSocketFactory": "#{instance:SSLSocketFactory}" "single_connPool<T>": { "class": "org.springframework.jms.connection.SingleConnectionFactory", // #{wrapper:connPool[wmqConnFactory]} "parameters": { "setTargetConnectionFactory": "#{cf:<T>}", "SSLCipherSuite" : "TLS_RSA_WITH_AES_128_CBC_SHA256" "ClientId": "#{stream:CLIENT_ID}" } } , "amqConnFactorySSL": { "class": "org.apache.activemq.ActiveMQSslConnectionFactory", }, "parameters": { "KeyAndTrustManagersinit_method": "#{instance:KeyAndTrustManagers}initConnection", "destroy_method": "destroy" } "UserName": "#{stream:USERID}", , "amqconnPool": { "class": "org.springframework.jms.connection.CachingConnectionFactory", "parameters": { "PasswordTargetConnectionFactory": "#{streamcf:USERPASSWORDamqConnFactory}", } } } , "Wrappers": { "connPool<T>SessionCacheSize": { "class": "org.springframework.jms.connection.CachingConnectionFactory",10" // #{wrapper:connPool[wmqConnFactory]} "parameters": { "setTargetConnectionFactory": "#{cf:<T>}", "init_method": "initConnection", "setSessionCacheSize": "10" "destroy_method": "by default" } , }, "amqconnPool_native<T>": { "class": "org.apache.activemq.pool.PooledConnectionFactory", "init_method": "afterPropertiesSet", "parameters": { "ConnectionFactory": "#{cf:<T>}"/*, "destroy_method": "by default" } , "amqconnPool": { "classMaxConnections": "org.springframework.jms.connection.CachingConnectionFactory5", "parameters": { "TargetConnectionFactory": "#{cf:amqConnFactory}", "MaximumActiveSessionPerConnection": "10" */ "SessionCacheSize": "10" }, }, "init_method": "afterPropertiesSetstart", "destroy_method": "by default"stop" } , "single_amqconnPool_nativenative<T>": { "class": "org.apache.activemq.pool.PooledConnectionFactory", "parameters": { "ConnectionFactory": "#{cf:amqConnFactory<T>}", "MaxConnections": "201", "MaximumActiveSessionPerConnection": "101" }, "init_method": "start", "destroy_method": "stop" } } } |
...