/** * 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} * @see #getLookupKeyForMessage(MessageContext) */ @Override protected Object getEndpointInternal(MessageContext messageContext) throws Exception { T key = getLookupKeyForMessage(messageContext); if (key == null) { 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} * @see #getLookupKeyForMessage(MessageContext) */ @Override protected Object getEndpointInternal(MessageContext messageContext) throws Exception { T key = getLookupKeyForMessage(messageContext); if (key == null) { 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} * @see #getLookupKeyForMessage(MessageContext) */ @Override protected Object getEndpointInternal(MessageContext messageContext) throws Exception { T key = getLookupKeyForMessage(messageContext); if (key == null) { 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> * @see #getLookupKeyForMessage(MessageContext) */ @Override protected Object getEndpointInternal(MessageContext messageContext) throws Exception { T key = getLookupKeyForMessage(messageContext); if (key == null) { return null; } if (logger.isDebugEnabled()) { logger.debug("Looking up endpoint for [" + key + "]"); } return lookupEndpoint(key); }