@FrankDocGroup(order=55, name="TransactionalStorages") public interface ITransactionalStorage<S extends Serializable> extends IMessageBrowser<S>, INamedObject
ITransactionalStorage
is responsible for storing and
retrieving-back messages under transaction control.Receiver
IMessageBrowser.HideMethod, IMessageBrowser.SortOrder, IMessageBrowser.StorageType
Modifier and Type | Field and Description |
---|---|
static int |
MAXCOMMENTLEN |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
configure() |
RawMessageWrapper<S> |
getMessage(String storageKey)
Retrieves and deletes the message.
|
String |
getSlotId() |
String |
getType() |
void |
open()
Prepares the object for operation.
|
void |
setSlotId(String string)
Optional identifier for this storage, to be able to share the physical storage between a number of receivers and pipes.
|
void |
setType(String string)
Possible values are
E (error store), M (message store), L (message log for Pipe) or A (message log for Receiver).Receiver will always set type to E for errorStorage and always set type to A for messageLog. |
String |
storeMessage(String messageId,
String correlationId,
Date receivedDate,
String comments,
String label,
S message)
Store the message, returns storageKey.
|
browseMessage, containsCorrelationId, containsMessageId, deleteMessage, getContext, getHideMethod, getHideRegex, getIterator, getIterator, getMessageCount, setHideMethod, setHideRegex
isTransacted
getName, setName
static final int MAXCOMMENTLEN
void open() throws Exception
Exception
void close()
void configure() throws ConfigurationException
ConfigurationException
String storeMessage(String messageId, String correlationId, Date receivedDate, String comments, String label, S message) throws SenderException
SenderException
RawMessageWrapper<S> getMessage(String storageKey) throws ListenerException
ListenerException
void setSlotId(String string)
String getSlotId()
void setType(String string)
E
(error store), M
(message store), L
(message log for Pipe) or A
(message log for Receiver).E
for errorStorage and always set type to A
for messageLog. SenderPipe will set type to L
for messageLog (when type isn't specified).MessageStoreSender
for type M
.E
for errorStorage on ReceiverA
for messageLog on ReceiverL
for messageLog on PipeString getType()
Copyright © 2023 Frank!Framework. All rights reserved.