the issue is also with your template/mock setup...you are mixing concepts a
bit...
remove the declarations outside of the method and just do something like
this...
MockEndpoint mock = getMockEndpoint("mock:result");
mock.expectedBodiesReceived("expected result");
template.sendBodyAndHeader("direct:start",
"message","headerName","headerValue");
assertMockEndpointsSatisfied();
Frankiboy wrote
> I have allerady tried this, i got green ligth but newer go into my
> AddIpBean.
>
> Its like the Route newer startsup , thats why i tried.
>
> context.addRoutes(createRouteBuilder());
> context.start();
-----
Ben O'Day
IT Consultant -http://consulting-notes.com
--
View this message in context:
http://camel.465427.n5.nabble.com/Green-test-but-my-RouteBuilder-dosent-run-tp5752583p5752605.html
Sent from the Camel - Users mailing list archive at Nabble.com.