Hi

I suggest to search this mail archive, as this has been discussed in
the past how to use IBM MQ with Camel.
And people have posted code snippets of their solutions.



On Sat, Mar 24, 2012 at 2:06 PM, newbiee <m_ess...@hotmail.com> wrote:
> Hi,
>
> I have a need to send and consume messages from IBM MQ. I have been using
> ACTIVE MQ and I will appreciate if an expert could correct the snapshot
> shown below:
>
> 1. Spring configuration for IBM MQ: (I have been using similar for Active MQ
> but would like to confirm if I could use the same for IBM MQ, I only have
> replaced
>  "<bean class="org.apache.activemq.ActiveMQConnectionFactory">"
>
> with
> "<bean class="com.ibm.mq.jms.MQConnectionFactory">"
>
> Here is what I have for IBM MQ:
>
>
>   <bean class="org.apache.camel.component.jms.JmsComponent" id="jms">
>      <property name="connectionFactory">
>        <bean class="com.ibm.mq.jms.MQConnectionFactory">
>          <property name="brokerURL" value="localhost"/>
>        </bean>
>      </property>
>  </bean>
>
>
> After defining this, this is how I intend to define the route:
>
>      <route>
>            <from uri="jms:mymessage"/>
>            <to uri="stream:out"/>
>    </route>
>
>
> where "mymessage" is the name of the queue.
>
> My my code correct and is there anything wrong, please let me know.
>
> Thank you
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/IBM-MQ-and-CAMEL-tp5591661p5591661.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
CamelOne 2012 Conference, May 15-16, 2012: http://camelone.com
FuseSource
Email: cib...@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Reply via email to