When i try to call MQ from appache camel, i get this error:
aused by: com.ibm.mq.jmqi.JmqiException: CC=2;RC=2195;AMQ9546: Error return
code received.
[1=java.lang.NoSuchMethodException[com.ibm.mq.jmqi.remote.internal.RemoteFAP.<init>(com.ibm.mq.jmqi.JmqiEnvironment,
int)],3=Class.throwNoSuchMethodException]
at com.ibm.mq.jmqi.JmqiEnvironment.getInstance(JmqiEnvironment.java:770)
at com.ibm.mq.jmqi.JmqiEnvironment.getMQI(JmqiEnvironment.java:623)
at
com.ibm.msg.client.wmq.factories.WMQConnectionFactory.createV7ProviderConnection(WMQConnectionFactory.java:7170)
... 29 more
My camel.xml:
<bean id="activemq"
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="bdaix416.bdunet.dk"/>
<property name="port" value="1414"/>
<property name="queueManager" value="HUB_T_416"/>
<property name="channel" value="SYSTEM.DEF.SVRCONN"/>
</bean>
</property>
</bean>
My route:
from("file:c:/camel-input/?delete=true").to("activemq:topic:HUB_TOP01?selector=BD='YES'");
When i put i txt file into the input directory, i get this file, anyone out
there that have seen this problem before ?
--
View this message in context:
http://camel.465427.n5.nabble.com/Anyone-seen-this-problem-Caused-by-com-ibm-mq-jmqi-JmqiException-CC-2-RC-2195-tp5754142.html
Sent from the Camel - Users mailing list archive at Nabble.com.