I have route in my camel context like this:-
<camel:route id="xxx">
<camel:from uri="direct:test"></camel:from>
<camel:to uri="bean:testProcessor"></camel:to>
<camel:to uri="{{testUrl}}"></camel:to>
<camel:setHeader headerName="fromEndPoint">
<camel:simple>routename</camel:simple>
</camel:setHeader>
<camel:to uri="bean:responseHandler"></camel:to>
</camel:route>
How can i test the above route ? When i am extending my test class from
CamelSpringTestSupport then i am not able to fetch the {{testUrl}} value
from the properties file and then how can emulate the behavior of http
service.
--
View this message in context:
http://camel.465427.n5.nabble.com/mock-http-endpoint-and-retrieving-value-form-properties-file-tp5782604.html
Sent from the Camel - Users mailing list archive at Nabble.com.