public interface Dispatcher
Modifier and Type | Method and Description |
---|---|
List<Endpoint> |
getEndpoints(SessionInformation sessionInformation)
Returns the endpoint sequence associated with current session with out root
|
SessionInformation |
getSession(MessageContext synCtx)
Dispatcher should check the session id pattern in the synapseMessageContext and return the
matching endpoint for that session id, if available.
|
boolean |
isServerInitiatedSession()
Determine whether the session supported by the implementing dispatcher is initiated by the
server (e.g.
|
void |
removeSessionID(MessageContext syCtx)
Remove the session Id - To clear out session information from current message
|
void |
unbind(MessageContext synCtx)
Removes the session belonging to the given message context.
|
void |
updateSession(MessageContext synCtx)
Updates the session maps.
|
SessionInformation getSession(MessageContext synCtx)
synCtx
- client -> esb message context.void updateSession(MessageContext synCtx)
synCtx
- SynapseMessageContextvoid unbind(MessageContext synCtx)
synCtx
- MessageContext containing an session ID.boolean isServerInitiatedSession()
List<Endpoint> getEndpoints(SessionInformation sessionInformation)
sessionInformation
- Current Session informationvoid removeSessionID(MessageContext syCtx)
syCtx
- MessageContext containing an session IDCopyright © 2005-2017 Apache Software Foundation. All Rights Reserved.