Hi All,

I'm attempting to replace the JMS component in my routes with the SJMS
component, but using the original connectionFactory. 

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

<bean id="jmsQueueConnectionFactory"
class="org.springwork.jms.connection.UserCredentialsConnectionFactoryAdapter">
<property name="targetConnectionFactory" ref="MQConnectionFactory"/>
<property name="username" value=secret/>
<property name="password" value=secret/>
</bean>

<bean name="MQConnectionFactory"
class="com.ibm.mq.jms.MQQueueConnectionFactory">
<properties: hostname,port,channel,queueManager,transportType>
</bean>

So theses this connection Factory works perfectly when the component is
*JMS*, but when I switch to *SJMS* the queue manager will not let me connect
to it. That is a particularly confusing behavior because the credentials are
the exact same. the SJMS docs don't appear to have what I need for making
the transition, so has anyone here ever changed from the JMS to the SJMS
component in an existing route?

Thanks,






--
View this message in context: 
http://camel.465427.n5.nabble.com/Replacing-JMS-Component-with-SJMS-tp5765882.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to