Any news on this issue ?
I dont find a way for doing this.

GB

Jean-Baptiste Onofré ha scritto:
OK understood.

Let me check in the source code how to get the endpoint.

Regards
JB

Gianfranco Boccalon wrote:
Because with JMX I stop the entire Service Unit and if, for example, my Service Unit contains 3 HTTP endpoints, the stop on SU stops all of them, while I need to stop only one of them.

Regards
GB

Jean-Baptiste Onofré ha scritto:
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




Reply via email to