public class SimpleClientSessionDispatcher extends AbstractDispatcher
log| Constructor and Description |
|---|
SimpleClientSessionDispatcher() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
extractSessionID, extractSessionID, getEndpoints, removeSessionID, removeSessionIDpublic SessionInformation getSession(MessageContext synCtx)
DispatchersynCtx - client -> esb message context.public void updateSession(MessageContext synCtx)
DispatchersynCtx - SynapseMessageContextpublic void unbind(MessageContext synCtx)
DispatchersynCtx - MessageContext containing an session ID.public boolean isServerInitiatedSession()
Dispatcherpublic void removeSessionID(MessageContext syCtx)
DispatchersyCtx - MessageContext containing an session IDCopyright © 2005-2017 Apache Software Foundation. All Rights Reserved.