Hi

  Followed the WMQ specific configuration from the url  

  URL :
http://camel.465427.n5.nabble.com/Can-Camel-communicate-over-IBM-MQ-sender-receiver-channels-td4429050.html#a4430351

  The route is simple as stated   below

/  <beans xmlns="http://www.springframework.org/schema/beans";
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
       xsi:schemaLocation="http://www.springframework.org/schema/beans
                          
http://www.springframework.org/schema/beans/spring-beans.xsd
                           http://camel.apache.org/schema/spring
                          
http://camel.apache.org/schema/spring/camel-spring.xsd";>

<import resource="../Beans/log_componentTracer.xml"/>
<import resource="../Beans/ibm-wmq-component.xml"/>

<camelContext   xmlns="http://camel.apache.org/schema/spring";>
<route streamCache="true">
     <from uri="ibmmq:queue:TESTQ"/>
     <to uri="stream:out"/>
</route>
</camelContext>
</beans>

Jars Used :  com.ibm.mq.jmqi.jar, com.ibm.mqjms.jar, dhbcore.jar
 
Output is as follows  

 INFO | Route: route1 started and consuming from:
Endpoint[ibmmq://queue:TESTQ]
 INFO | Total 1 routes, of which 1 is started.
 INFO | Apache Camel 2.15.0 (CamelContext: camel-1) started in 5.084 seconds
 INFO | Received hang up - stopping the main instance.
 INFO | Apache Camel 2.15.0 stopping
 INFO | Apache Camel 2.15.0 (CamelContext: camel-1) is shutting down
/


Question  : the Queue has messages ,and the same are not being consumed and
streamed to console.

Is any additional configurations needed to be done.

plz advise.

with regards
Karthik







--
View this message in context: 
http://camel.465427.n5.nabble.com/Camel-DSL-WMQ-Not-Working-as-expected-tp5782772.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to