Not sure why the beans did not copy the last time. Putting them again. I want
something similar for setting up the Open MQ.

<bean id="jms" class="org.apache.camel.component.jms.JmsComponent">
        <property name="connectionFactory" ref="credentialsConnectionFactory"/>
</bean>

<bean id="credentialsConnectionFactory"
class="org.springframework.jms.connection.UserCredentialsConnectionFactoryAdapter">
        <property name="targetConnectionFactory" ref="mqConnectionFactory"/>
        <property name="username" value="#{jms.auth.username}"/>
        <property name="password" value="#{jms.auth.password}"/>
</bean>

<bean id="mqConnectionFactory" class="com.ibm.mq.jms.MQConnectionFactory">
        <property name="transportType" value="#{jms.transportType}"/>
        <property name="CCSID" value="#{jms.CCSID}"/>
        <property name="channel" value="#{jms.channel}"/>
        <property name="queueManager" value="#{jms.queueManager.name}"/>
        <property name="hostName" value="#{jms.host.name}"/>
        <property name="port" value="#{jms.port}"/>
</bean>

--
View this message in context: 
http://camel.465427.n5.nabble.com/Apache-Camel-Integration-with-Open-MQ-Glassfish-tp5678620p5678908.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to