Hi Gianfranco,
Why don't you use the JMX ?
You can get ServiceUnitMBean and call stop on it.
Regards
JB
Gianfranco Boccalon wrote:
Hi all,
does anybody knows a way to retrieve a single endpoint
(ExternalEndpoint) identifying it by Service QName?
I need to write a component able to stop (and restart) an external
endpoint, knowing its service name.
The problem is that I dont find a way to retrieve the Endpoint object
(org.apache.servicemix.common.Endpoint): once I have this object,
stopping it is quite simple (there is a stop() method).
Is it possible?
Thanks