ok - I see the problem. Try this instead:

            public void configure() throws Exception {

                from("direct:foo")
                .inOut("activemq:queue:a", "activemq:queue:b")
                .to("mock:result");

                from("activemq:queue:a")
                .bean(foo, "doA");

                from("activemq:queue:b")
                .bean(foo, "doB");

            }


On 03.05.2011 16:43, Muhammad Ichsan wrote:
On Tue, May 3, 2011 at 6:55 PM, Claus Straube<[email protected]>  wrote:

The problem is not when using "direct", but when using "activemq"

I'm using:
                <camel.version>2.6.0</camel.version>
                <spring.version>3.0.5.RELEASE</spring.version>
                <activemq.version>5.4.2</activemq.version>

It's still happening in<camel.version>2.7.1</camel.version>

If you need my code to review, this is the complete artifact
http://michsan.web.id/system/files/routing-learn.tgz

Thanks


Reply via email to