Hi,

Please check out the code below

Enjoy,

Ashwin...

----------------------------------------------------------------------

<?xml version="1.0" encoding="UTF-8"?>
<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";>

    <camelContext xmlns="http://camel.apache.org/schema/spring";>
        <route>
             <from uri="activemq:queue:foo"/>
             <to uri="wmq:queue:bar"/>
        </route>
    </camelContext>

    
        <bean id="wmq" class="org.apache.camel.component.jms.JmsComponent">
          <property name="connectionFactory">
            <bean class="com.ibm.mq.jms.MQConnectionFactory">
                        <property name="transportType" value="1"/>
                    <property name="hostName" value="localhost"/> 
                    <property name="port" value="1414"/> 
                    <property name="queueManager" value="QM_TEST"/> 
            </bean>
          </property>
        </bean>

</beans>

-----
---------------------------------------------------------
Ashwin Karpe
Apache Camel Committer & Sr Principal Consultant
FUSESource (a Progress Software Corporation subsidiary)
http://fusesource.com 

Blog: http://opensourceknowledge.blogspot.com 
CamelOne 2011: http://fusesource.com/camel2011 
---------------------------------------------------------
--
View this message in context: 
http://camel.465427.n5.nabble.com/Can-Camel-communicate-over-IBM-MQ-sender-receiver-channels-tp4429050p4430177.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to