com.consol.citrus.adapter.common.endpoint
Interface EndpointUriResolver

All Known Implementing Classes:
MessageHeaderEndpointUriResolver

public interface EndpointUriResolver

Resolves endpoint uri so we can send messages to dynamic endpoints. Resolver works on request message and chooses the target message endpoint according to message headers or payload.

Author:
Christoph Deppisch

Method Summary
 String resolveEndpointUri(org.springframework.integration.Message<?> message)
          Get the dedicated message endpoint uri for this message.
 String resolveEndpointUri(org.springframework.integration.Message<?> message, String defaultUri)
          Get the dedicated message endpoint uri for this message.
 

Method Detail

resolveEndpointUri

String resolveEndpointUri(org.springframework.integration.Message<?> message)
Get the dedicated message endpoint uri for this message.

Parameters:
message - the request message to send.
Returns:
the endpoint uri String representation

resolveEndpointUri

String resolveEndpointUri(org.springframework.integration.Message<?> message,
                          String defaultUri)
Get the dedicated message endpoint uri for this message.

Parameters:
message - the request message to send.
defaultUri - the fallback uri in case no mapping was found.
Returns:
the endpoint uri String representation


Copyright © 2008-2013 ConSol* Consulting&Solutions GmbH. All Rights Reserved.