Re: trigger direct:start route

2011-06-16 Thread Taariq Levack
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

Re: trigger direct:start route

2011-06-16 Thread boday
here is an example... https://svn.apache.org/repos/asf/camel/trunk/camel-core/src/test/java/org/apache/camel/component/direct/DirectQueueTest.java Andrè 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 hi

Re: trigger direct:start route

2011-06-16 Thread Claus Straube
As I wrote yesterday: Create a test class, extend CamelSpringTestSupport, create a test method and call template.sendBody("direct://start", "foo"). On 16.06.2011 18:12, Andrè wrote: i want to fire that route in the camel-context.xml for testing purposes , i thought that the direct component w

trigger direct:start route

2011-06-16 Thread Andrè
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... is there command which have to add to the camel