Hi,

I am using Camel 2, and Spring 2.5.6. I want to do unit testing with a mock
of our actual CamelContext, but I can't use arbitrary queue names. The only
ones I can use are direct:start and mock:result. Why is this, and how can I
use a name of my choosing?

Here is the CamelContext, and I can post the rest of the Spring config and
the test class if need be.

    <camel:camelContext id="camel">
                <camel:route>
                        <camel:from uri="direct:start"/>
                      <camel:filter>
                        <camel:xpath>$foo = 'bar'</camel:xpath>
                        <camel:to uri="mock:result"/>
                      </camel:filter>
                </camel:route>  
        </camel:camelContext>

Thanks
-- 
View this message in context: 
http://www.nabble.com/Can-only-use-direct%3Astart-and-mock%3Aresult-in-unit-tests-tp23654476p23654476.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to