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, removeSessionID
public SessionInformation getSession(MessageContext synCtx)
Dispatcher
synCtx
- client -> esb message context.public void updateSession(MessageContext synCtx)
Dispatcher
synCtx
- SynapseMessageContextpublic void unbind(MessageContext synCtx)
Dispatcher
synCtx
- MessageContext containing an session ID.public boolean isServerInitiatedSession()
Dispatcher
public void removeSessionID(MessageContext syCtx)
Dispatcher
syCtx
- MessageContext containing an session IDCopyright © 2005-2017 Apache Software Foundation. All Rights Reserved.