Hi,
   I have written junits which mocks the endpoints.
but my problem is my code uses a service. so if i start the route i always
get nullpointer exception
because the service is not initialized. 
So my question is there a way to mock a service or add a service before a
route starts.

Regards,

Deepak



--
View this message in context: 
http://camel.465427.n5.nabble.com/How-to-add-Service-on-before-camel-route-start-tp5783616.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to