Tony,

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.

Hadrian


On 02/03/2012 04:47 PM, Tony Su wrote:
Found a mistake in the original post:


Tony Su wrote

                        if (removed != null)
                        {
                                logger.debug("EP not removed: {}", uri);
                        }



This should be:
                         if (removed != null)
                        {
                                logger.debug("EP not removed: {}", uri);
                        }
Output is:
        removing EP: jmsvm://topic:CORE_REQUEST_USRMGM
        removing EP: jmsvm://topic:CORE_ADD_USRMGM

This indicates that removeEndpoints should have succeeded, but an
examination of the context indicates that the endpoint is still present.
Using context.AddRoutes() to add routes with the same endpoints results in
duplicate endpoints present in the context.

--
View this message in context: 
http://camel.465427.n5.nabble.com/Problem-Removing-Endpoints-tp5455029p5455127.html
Sent from the Camel - Users mailing list archive at Nabble.com.

--
Hadrian Zbarcea
Principal Software Architect
Talend, Inc
http://coders.talend.com/
http://camelbot.blogspot.com/

Reply via email to