Hi Now you have a consumer from "start", your test class will produce a message for that consumer, like this example;
http://svn.apache.org/repos/asf/camel/trunk/components/camel-spring-javaconfig/src/test/java/org/apache/camel/spring/javaconfig/patterns/FilterTest.java On 16 Jun 2011, at 6:12 PM, Andrè <morpheusan...@web.de> wrote: > i want to fire that route in the camel-context.xml for testing purposes , i > thought that the direct component would do that by himself but, it doesnt > looks like... > <route> > <from uri="direct:start"/> > <log message="direct request generated"/> > <bean ref="xacmlRequest" method="genRequest" /> > <log message="direct did it"/> > <to uri="activemq:topic:xacml.authzRequests"/> > </route> > <route> > <from uri="activemq:topic:xacml.authzRequests"/> > <log message="request consumed hopefully"/> > <to uri="bean:pdp"/> > </route> > is there command which have to add to the camel-context ? > > -- > View this message in context: > http://camel.465427.n5.nabble.com/trigger-direct-start-route-tp4495731p4495731.html > Sent from the Camel - Users mailing list archive at Nabble.com.