camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Frankiboy <mail.to.fra...@gmail.com>
Subject Re: Why this route times out ?
Date Wed, 30 Jul 2014 09:38:51 GMT
Works i get my String messages to MQ, with inOnly, but throwing an exception
before starting my last route  "direct:channel2" ..

Caused by: org.apache.cxf.binding.soap.SoapFault: Exception occurred during
execution on the exchange: Exchange[Message: Frank was here from LogMq]  


      from("cxf:bean:hubws?dataFormat=MESSAGE").streamCaching() 
      .onException(Exception.class).process(new LogError()).end() 
      .to("direct:channel1", "direct:channel2");  
        
       from("direct:channel1")
      .setHeader("BD", constant("YES"))
      .setHeader("JMS_IBM_Format", constant("MQSTR"))
      .bean(LogMq.class, "logStart")
      .inOnly("activemq:topic:HUB_TOP01");
             
       from("direct:channel2") 
      .bean(AddIpBean.class) 
      .recipientList().method(Util.class, "getEndpoint");



--
View this message in context: http://camel.465427.n5.nabble.com/Why-this-route-times-out-tp5754623p5754628.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message