I'm attempting to manage routes and endpoints in a camel context using
following components (Camel 2.9.0, CXF 2.5.1, AMQ 5.5.1 in karaf 2.2.5). I
have a system that requires that the endpoints be dynamically reconfigured,
and this requires that I be able to add/remove routes and endpoints.
I am
Found a mistake in the original post:
Tony Su wrote
>
> if (removed != null)
> {
> logger.debug("EP not removed: {}", uri);
> }
>
This should be:
Babak Vahdat wrote
>
> Hi
>
> That was a Javadoc typo as CamelContext.removeEndpoints() would never
> return null but just an empty Collection if no matching endpoint could be
> found. So in your case checking it aganist null is obsolete.
>
> I did correct it right before on the trunk.
>
> Bab
hadrian wrote
>
> I am putting together a unit test to reproduce your problem. I assume
> you don't have one handy. The information you provided should be enough
> to reproduce.
>
Thanks! I don't have a test case yet.
--
View this message in context:
http://camel.465427.n5.nabble.com/Probl
Thanks! I just noticed that you fixed the issue.
--
View this message in context:
http://camel.465427.n5.nabble.com/Problem-Removing-Endpoints-tp5455029p5473978.html
Sent from the Camel - Users mailing list archive at Nabble.com.