You can enable the trace[1] feature to see if the message is sent to jms endpoint. [1]http://camel.apache.org/tracer.html
-- 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 Friday, September 28, 2012 at 2:15 AM, realice wrote: > Hi, I've configured a jmscomponent, but when i tried to send message to the > jms endpoint, it won't even connect to the channel and doesn't give me any > kind of error. Is there something wrong with the route or is there anyway > that i can tell whether the message is sent to the channel or not? see my > config for jmscomponent and part of the route below, many thanks > > <bean id="myConnectionFactory" > class="com.ibm.mq.jms.MQQueueConnectionFactory"> > <property name="queueManager" value="QUEUEMANAGER" /> > <property name="hostName" value="HOST1" /> > <property name="port" value="1010" /> > <property name="channel" value="QUEUECHANNEL" /> > <property name="transportType" value="1"/> > </bean> > > <bean id="queueConnectionFactory" > > class="org.springframework.jms.connection.UserCredentialsConnectionFactoryAdapter"> > <property name="targetConnectionFactory" ref="myConnectionFactory" /> > <property name="username" value="USER" /> > <property name="password" value="PASS" /> > </bean> > > <bean id="jms" class="org.apache.camel.component.jms.JmsComponent"> > <property name="connectionFactory" ref="queueConnectionFactory"/> > </bean> > > <when> > <simple>${in.header.operationName} == 'OP1'</simple> > <split> > <method bean="splitter" method="getParts"/> > <process ref="validateParts"/> > <to uri="jms:REQUEST.QUEUE?replyTo=RESPONSE.QUEUE"/> > </split> > </when> > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Camel-MQ-help-needed-tp5720158.html > Sent from the Camel - Users mailing list archive at Nabble.com > (http://Nabble.com).