camel-users mailing list archives

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

      .onException(Exception.class).process(new LogError()).end() 
      .to("direct:channel1", "direct:channel2");  
      .setHeader("BD", constant("YES"))
      .setHeader("JMS_IBM_Format", constant("MQSTR"))
      .bean(LogMq.class, "logStart")
      .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: Exception occurred during execution
on the exchange: Exchange[Message: Frank was here from LogMq]

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



View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message