Return-Path: X-Original-To: apmail-camel-users-archive@www.apache.org Delivered-To: apmail-camel-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8ADC511638 for ; Wed, 30 Jul 2014 11:55:22 +0000 (UTC) Received: (qmail 74943 invoked by uid 500); 30 Jul 2014 11:55:22 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 74902 invoked by uid 500); 30 Jul 2014 11:55:22 -0000 Mailing-List: contact users-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@camel.apache.org Delivered-To: mailing list users@camel.apache.org Delivered-To: moderator for users@camel.apache.org Received: (qmail 58644 invoked by uid 99); 30 Jul 2014 10:53:52 -0000 X-ASF-Spam-Status: No, hits=2.3 required=5.0 tests=SPF_SOFTFAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: softfail (nike.apache.org: transitioning domain of mail.to.frankj@gmail.com does not designate 216.139.236.26 as permitted sender) Date: Wed, 30 Jul 2014 03:53:25 -0700 (PDT) From: Frankiboy To: users@camel.apache.org Message-ID: <1406717605073-5754637.post@n5.nabble.com> Subject: Same messages to 2 endpoints ? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org 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.