I try to build up a simpe connection to a MQ and put something in it.
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="2"/>
<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>
Route:
from("file:c:/camel-input/?delete=true").to("activemq:topic:HUB_TOP01?selector=BD='YES'");
Just contacted the system administrator, that tells me that the topic name
and selctor and the other parameters is ok.
But when i put a file into my camel-input, txt or xml, i get this wired
exception, any out the have a clue ?
Caused by: org.springframework.jms.UncategorizedJmsException: Uncategorized
exception occured during JMS processing; nested exception is
com.ibm.msg.client.jms.DetailedJMSException: JMSFMQ6115: An exception
occurred while creating the TopicConnection. See the linked exception for
further information.
Caused by: java.io.EOFException
at java.io.DataInputStream.readInt(DataInputStream.java:386)
at com.ibm.disthub2.impl.client.NoSecurity.authorize(NoSecurity.java:129)
at
com.ibm.disthub2.impl.client.ConnectorImpl.connect(ConnectorImpl.java:507)
at
com.ibm.disthub2.impl.client.ConnectorImpl.<init>(ConnectorImpl.java:298)
at
com.ibm.disthub2.impl.client.ConnectorImpl.<init>(ConnectorImpl.java:342)
at
com.ibm.msg.client.wmq.v6.direct.internal.ConnectionImpl.<init>(ConnectionImpl.java:343)
Frank
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="2"/>
<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>
Route:
from("file:c:/camel-input/?delete=true").to("activemq:topic:HUB_TOP01?selector=BD='YES'");
Just contacted the system administrator, that tells me that the topic name
and selctor and the other parameters is ok.
But when i put a file into my camel-input, txt or xml, i get this wired
exception, any out the have a clue ?
Caused by: org.springframework.jms.UncategorizedJmsException: Uncategorized
exception occured during JMS processing; nested exception is
com.ibm.msg.client.jms.DetailedJMSException: JMSFMQ6115: An exception
occurred while creating the TopicConnection. See the linked exception for
further information.
Caused by: java.io.EOFException
at java.io.DataInputStream.readInt(DataInputStream.java:386)
at com.ibm.disthub2.impl.client.NoSecurity.authorize(NoSecurity.java:129)
at
com.ibm.disthub2.impl.client.ConnectorImpl.connect(ConnectorImpl.java:507)
at
com.ibm.disthub2.impl.client.ConnectorImpl.<init>(ConnectorImpl.java:298)
at
com.ibm.disthub2.impl.client.ConnectorImpl.<init>(ConnectorImpl.java:342)
at
com.ibm.msg.client.wmq.v6.direct.internal.ConnectionImpl.<init>(ConnectionImpl.java:343)
Frank