public class MessageCache extends Object
Modifier and Type | Method and Description |
---|---|
void |
addMessageContext(String id,
MessageContext synCtx)
Add a message context to the cache
|
static MessageCache |
getInstance()
Get MessageCache Instance
|
MessageContext |
removeMessageContext(String id)
Remove a MessageContext from the cache and return it
|
public static MessageCache getInstance()
public void addMessageContext(String id, MessageContext synCtx)
id
- id of the message contextsynCtx
- MessageContext objectpublic MessageContext removeMessageContext(String id)
id
- id of the message contextCopyright © 2005–2024 Apache Software Foundation. All rights reserved.