camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Willem jiang <willem.ji...@gmail.com>
Subject Re: CAMEL - IBMMQ Failed to listen/waits in the queue.
Date Thu, 01 Nov 2012 03:48:53 GMT
It looks like you are move the message from IBMMQ to ActiveMQ.
Did you have trouble to get the message from IBMMQ with below configuration if your route
is just printing the message.

-- 
Willem Jiang

Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http://www.redhat.com
Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English)
          http://jnn.javaeye.com (http://jnn.javaeye.com/) (Chinese)
Twitter: willemjiang 
Weibo: willemjiang





On Wednesday, October 31, 2012 at 5:26 PM, Syed wrote:

> Hi.
> Listener , Camel IBMMQ failed to register the listener on standalone VM,
> where as camel-activemq configuration listens/waits in the queue, even
> though there is no message in the queue..Let me know do i have todo any
> addition configuration for the IBMMQ.
> 
> <bean id="webmq" class="org.apache.camel.component.jms.JmsComponent">
> <property name="configuration">
> <bean class="org.apache.camel.component.jms.JmsConfiguration">
> <property name="connectionFactory">
> <bean class="com.ibm.mq.jms.MQQueueConnectionFactory">
> <property name="transportType" value="1" />
> <property name="hostName" value="*******" />
> <property name="port" value="1415" />
> <property name="queueManager" value="TACE02" />
> <property name="channel" value="SYSTEM.ADMIN.SVRCONN" />
> </bean>
> </property>
> </bean>
> </property>
> </bean>
> 
> <route>
> <from uri=&quot;&lt;b>webmq:queue:CAMEL.TST.QUE*" />
> <convertBodyTo type="java.lang.String" />
> <to uri="jms:queue:eix.rcvr.queue" />
> </route>
> 
> From the above endpoint its not establishing the listener to the
> queue..Kindly advise what needs to be done..
> 
> <route>
> <from uri=&quot;&lt;b>webmq:queue:CAMEL.TST.QUE*" />
> <convertBodyTo type="java.lang.String" />
> <to uri="jms:queue:eix.rcvr.queue" />
> </route>
> 
> <route>
> <from uri="jms:queue:eix.rcvr.queue" />
> <convertBodyTo type="java.lang.String" />
> <to uri="jms:queue:eix.parser.queue" />
> </route>
> 
> From the above configuration establishing the listener to the queue, b'cos
> 'jms:queue:eix.rcvr.queue' listens to the queue and the VM will not exit.
> Regards
> Jawahar
> 
> 
> 
> --
> View this message in context: http://camel.465427.n5.nabble.com/CAMEL-IBMMQ-Failed-to-listen-waits-in-the-queue-tp5721855.html
> Sent from the Camel - Users mailing list archive at Nabble.com (http://Nabble.com).




Mime
View raw message