{
for (MessageReceiver messageReceiver : ((AbstractConnector) connector).getReceivers().values())
{
if (muleContext.equals(messageReceiver.getFlowConstruct().getMuleContext()))
{
EndpointServiceMBean service = new EndpointService(messageReceiver);
String fullName = buildFullyQualifiedEndpointName(service, connector);
if (logger.isInfoEnabled())
{
logger.info("Attempting to register service with name: " + fullName);