public class RequestDispatchingEndpointAdapter extends StaticEndpointAdapter
log
Constructor and Description |
---|
RequestDispatchingEndpointAdapter() |
Modifier and Type | Method and Description |
---|---|
Message |
dispatchMessage(Message request,
String mappingKey)
Consolidate mapping strategy in order to find dispatch incoming request to endpoint adapter according
to mapping key that was extracted before from message content.
|
MappingKeyExtractor |
getMappingKeyExtractor()
Gets the mapping name extractor.
|
EndpointAdapterMappingStrategy |
getMappingStrategy()
Gets the endpoint adapter mapping strategy.
|
protected Message |
handleMessageInternal(Message message)
Subclasses must implement this method in order to handle incoming request message.
|
void |
setMappingKeyExtractor(MappingKeyExtractor mappingKeyExtractor)
Sets the mapping name extractor implementation.
|
void |
setMappingStrategy(EndpointAdapterMappingStrategy mappingStrategy)
Sets the endpoint adapter mapping strategy.
|
getEndpoint, getEndpointConfiguration
afterPropertiesSet, getFallbackEndpointAdapter, getName, getTestContext, getTestContextFactory, handleMessage, setApplicationContext, setBeanName, setFallbackEndpointAdapter, setTestContextFactory
protected Message handleMessageInternal(Message message)
AbstractEndpointAdapter
handleMessageInternal
in class AbstractEndpointAdapter
public Message dispatchMessage(Message request, String mappingKey)
request
- mappingKey
- public MappingKeyExtractor getMappingKeyExtractor()
public void setMappingKeyExtractor(MappingKeyExtractor mappingKeyExtractor)
mappingKeyExtractor
- public EndpointAdapterMappingStrategy getMappingStrategy()
public void setMappingStrategy(EndpointAdapterMappingStrategy mappingStrategy)
mappingStrategy
- Copyright © 2008–2017 ConSol Software GmbH. All rights reserved.