/** * Lookup an endpoint for the given message. The extraction of the endpoint key is delegated to the concrete * subclass. * * @return the looked up endpoint, or {@code null} */ @Override protected final Object getEndpointInternal(MessageContext messageContext) throws Exception { String key = getLookupKeyForMessage(messageContext); if (!StringUtils.hasLength(key)) { return null; } if (logger.isDebugEnabled()) { logger.debug("Looking up endpoint for [" + key + "]"); } return lookupEndpoint(key); }
/** * Lookup an endpoint for the given message. The extraction of the endpoint key is delegated to the concrete * subclass. * * @return the looked up endpoint, or {@code null} */ @Override protected final Object getEndpointInternal(MessageContext messageContext) throws Exception { String key = getLookupKeyForMessage(messageContext); if (!StringUtils.hasLength(key)) { return null; } if (logger.isDebugEnabled()) { logger.debug("Looking up endpoint for [" + key + "]"); } return lookupEndpoint(key); }
/** * Lookup an endpoint for the given message. The extraction of the endpoint key is delegated to the concrete * subclass. * * @return the looked up endpoint, or <code>null</code> */ @Override protected final Object getEndpointInternal(MessageContext messageContext) throws Exception { String key = getLookupKeyForMessage(messageContext); if (!StringUtils.hasLength(key)) { return null; } if (logger.isDebugEnabled()) { logger.debug("Looking up endpoint for [" + key + "]"); } return lookupEndpoint(key); }
/** * Lookup an endpoint for the given message. The extraction of the endpoint key is delegated to the concrete * subclass. * * @return the looked up endpoint, or {@code null} */ @Override protected final Object getEndpointInternal(MessageContext messageContext) throws Exception { String key = getLookupKeyForMessage(messageContext); if (!StringUtils.hasLength(key)) { return null; } if (logger.isDebugEnabled()) { logger.debug("Looking up endpoint for [" + key + "]"); } return lookupEndpoint(key); }