What Claus is suggesting is that you need to rewrite your routes. You
can just redirect the message to other endoints or probably want to
use a multicast (https://camel.apache.org/multicast.html). Could look
like this:

        from("cxf:bean:hubws?dataFormat=MESSAGE").streamCaching()
       .onException(Exception.class).process(new LogError()).end()
       .to("direct:channel1", "direct:channel2");


        from("direct:channel1").filter().method(LogMq.class, "logStart")
       .to("activemq:topic:HUB_TOP01?selector=BD='YES'");

        from("direct:channel2")
        .bean(AddIpBean.class)
        .recipientList().method(Util.class, "getEndpoint");


Regards,
Michael

On Mon, Jul 28, 2014 at 2:06 PM, Frankiboy <mail.to.fra...@gmail.com> wrote:
> I dont quite understand this my endpoint is the <bean id="activemq"> but how
> to define this, in camel.xml
>
> Frank
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Failed-to-start-route-route2-because-of-Multiple-consumers-for-the-same-endpoint-is-not-allowed-tp5754511p5754517.html
> Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to