I switched it to having multipleConsumers=true for all. Worked like a charm
...Is it possible to put it in the component doc of seda that to accomplish
the pubsub, the multipleConsumers is needed on all places. Is there anything
I can do to help put the same? Also to test the above I used the below
                from("timer://foo?fixedRate=true&delay=10&period=1s")
                .setBody(constant("Hello world!"))
                .to("seda:dump");        
                
                from("seda:dump?multipleConsumers=true").routeId("one")
                .log("one: + ${body}");     
                
                from("seda:dump?multipleConsumers=true").routeId("two")
                .log("two: + ${body}");                
                
                from("seda:dump?multipleConsumers=true").routeId("three")
                .log("three: + ${body}");                
                
        context.start();
        Thread.sleep(10000);
        context.stopRoute("two");
        context.removeRoute("two");
        Thread.sleep(10000);
        context.stop();

--
View this message in context: 
http://camel.465427.n5.nabble.com/Question-on-VM-Endpoint-multipleConsumers-and-OSGi-tp3284450p5465523.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to