Impossible to call an external endpoint by EP name, using the current APIs.
The JBI context gives access to a MessageSender (see below), then we can fill in the interface / service names.
But the Exchange doesn't provide any setEndpoint(endpointName). Instead, there is a setEndpoint(ServiceEndpoint)... but no API is accessible to generate a ServiceEndpoint starting from an endpoint name.
This requires access to some of the Component's methods (or to the Component itself).
// Example
Exchange e = jbiContext.getMessageSender().createExchange(mep);
e.setInterfaceName(myInterfaceName);
e.setService(myServiceName);
// How to set endpoint given an enpoint name ?? No way