@Override
protected RouteBuilder createRouteBuilder() {
return new RouteBuilder() {
public void configure() {
from("direct:start").bean(AddIpBean.class).to("mock:result");
}
};
}
}
Frank
--
View this message in conte
er() {
public void configure() {
from("direct:start").bean(AddIpBean.class).to("mock:result");
}
};
}
}
--
View this message in context:
http://camel.465427.n5.nabble.com/Green-test-but-my-RouteBuilder-dosent-run-tp5752604.htm
ike 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
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();
--
View this message in context:
http://camel.465427.n5.nabble.com/Green-test-but-my-RouteBuilder
ext.doStartRouteConsumers(DefaultCamelContext.java:2118)
Frank
--
View this message in context:
http://camel.465427.n5.nabble.com/Green-test-but-my-RouteBuilder-dosent-run-tp5752583.html
Sent from the Camel - Users mailing list archive at Nabble.com.
tion: Failed to start route route2
> because of Multiple consumers for the same endpoint is not allowed:
> Endpoint[direct://start]
> at
> org.apache.camel.impl.DefaultCamelContext.doStartOrResumeRouteConsumers(DefaultCamelContext.java:2161)
> at
> org.apac