camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Frankiboy <mail.to.fra...@gmail.com>
Subject An exception occurred while creating the TopicConnection.
Date Wed, 23 Jul 2014 12:42:27 GMT
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 









	



--
View this message in context: http://camel.465427.n5.nabble.com/An-exception-occurred-while-creating-the-TopicConnection-tp5754301.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message