Hi

You need to set some additional property like clientTransport or
whatever the name was to a value of 1 AFAIR.

Search on Camel user forum as well as some people have used it with
Camel and posted their working configuration.


On Tue, Aug 25, 2009 at 4:40 PM, jrrosel<[email protected]> wrote:
>
> Using the new endpoint style I was able to get a bit further. Unfortunately I
> am now getting an MQConnection error:
>
> org.springframework.jms.UncategorizedJmsException: Uncategorized exception
> occur
> ed during JMS processing; nested exception is javax.jms.JMSException:
> MQJMS2005:
>  failed to create MQQueueManager for 'leuseg05.leinternal.com:LEUSEG05';
> nested
> exception is com.ibm.mq.MQException: MQJE001: An MQException occurred:
> Completio
> n Code 2, Reason 2009
>
> My mq admin says that may be due to the application not connecting in client
> mode. Based on the connection factory bean properties I believe I am setting
> it up for tcpip client. The connection factory bean definition is below:
>
>  <bean id="mqConnectionFactory"
> class="com.ibm.mq.jms.MQQueueConnectionFactory">
>    <property name="transportType" >
>           <util:constant
> static-field="com.ibm.mq.jms.JMSC.MQJMS_TP_CLIENT_MQ_TCPIP" />
>    </property>
>   <property name="queueManager" value="LEUSEG05" />
>    <property name="hostName" value="leuseg05.leinternal.com" />
>    <property name="channel" value="java.channel" />
>    <property name="port" value="1414" />
>  </bean>
>
> Any thoughts on this one?
>
> Thanks Again!
>
> It also looks like you are using the old style JMS endpoints.  I would
> recommend using the new JMS endpoints as they are much more flexible.
> http://servicemix.apache.org/servicemix-jms-new-endpoints.html
>
> The syntax is slightly different but it should only take a few minutes to
> convert the endoint config you show below.
>
> Thanks,
> Chris
> --
> Chris Custine
> FUSESource :: http://fusesource.com
> My Blog :: http://blog.organicelement.com
> Apache ServiceMix :: http://servicemix.apache.org
> Apache Directory Server :: http://directory.apache.org
>
> --
> View this message in context: 
> http://www.nabble.com/Servicemix-JMS-and-Websphere-MQ-tp25082012p25135649.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>
>



-- 
Claus Ibsen
Apache Camel Committer

Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus

Reply via email to