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 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 ?
> 


-----
Ben O'Day
IT Consultant -http://consulting-notes.com

--
View this message in context: 
http://camel.465427.n5.nabble.com/trigger-direct-start-route-tp4495731p4495807.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to