*/
protected JMSEndpoint getExtensorsAndConfig(Bus bus,
EndpointInfo endpointInfo,
EndpointReferenceType target,
boolean isConduit) throws IOException {
JMSEndpoint endpoint = null;
String adr = target == null ? endpointInfo.getAddress() : target.getAddress().getValue();
try {
endpoint = StringUtils.isEmpty(adr) || "jms://".equals(adr) || !adr.startsWith("jms")
? new JMSEndpoint()
: JMSEndpointParser.createEndpoint(adr);
} catch (RuntimeException ex) {
throw ex;
} catch (Exception e) {
IOException e2 = new IOException(e.getMessage());