camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Frankiboy <mail.to.fra...@gmail.com>
Subject Same messages to 2 endpoints ?
Date Wed, 30 Jul 2014 10:53:25 GMT
     
      This is my routes:

       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");

I newer get to my AddIpBean.class, i get call inOnly, the MQ log is OK , bug
the (LogMq.class, "logStart")class returns a String "Frank was here from
LogMq" and then this exception:

 javax.xml.ws.soap.SOAPFaultException: Exception occurred during execution
on the exchange: Exchange[Message: Frank was here from LogMq]

I want to start channel1 and channel2 with same input.....

Frank 


    



--
View this message in context: http://camel.465427.n5.nabble.com/Same-messages-to-2-endpoints-tp5754637.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message