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 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.
--
claus straube
__________________________________________
phone +49-89-38157419
mobile +49-176-49673717
web http://www.catify.com
office 5. floor, heßstr. 56, 80798 munich
__________________________________________