What kind of exception did you get?
It's hard to tell any thing is wrong by looking up the configuration
that you showed to us.
On Wed May 2 04:22:56 2012, bxkrish wrote:
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.
--
Willem
----------------------------------
CamelOne 2012 Conference, May 15-16, 2012: http://camelone.com
FuseSource
Web: http://www.fusesource.com
Blog: http://willemjiang.blogspot.com (English)
http://jnn.javaeye.com (Chinese)
Twitter: willemjiang
Weibo: willemjiang