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.