public interface IMessageBrowser<M> extends IXAEnabled
Modifier and Type | Interface and Description |
---|---|
static class |
IMessageBrowser.HideMethod |
static class |
IMessageBrowser.SortOrder |
static class |
IMessageBrowser.StorageType |
Modifier and Type | Method and Description |
---|---|
RawMessageWrapper<M> |
browseMessage(String storageKey)
Retrieves the message, but does not delete.
|
boolean |
containsCorrelationId(String correlationId) |
boolean |
containsMessageId(String originalMessageId)
Check if the storage contains message with the given original messageId
(as passed to storeMessage).
|
void |
deleteMessage(String storageKey)
Deletes the message.
|
IMessageBrowsingIteratorItem |
getContext(String storageKey)
Retrieves the message context as an iteratorItem.
|
IMessageBrowser.HideMethod |
getHideMethod() |
String |
getHideRegex() |
IMessageBrowsingIterator |
getIterator()
Gets an enumeration of messages.
|
IMessageBrowsingIterator |
getIterator(Date startTime,
Date endTime,
IMessageBrowser.SortOrder order) |
int |
getMessageCount() |
void |
setHideMethod(IMessageBrowser.HideMethod hideMethod)
(Only used when hideRegex is not empty) Specifies the way to hide
|
void |
setHideRegex(String hideRegex)
Regular expression to mask strings in the errorStore/logStore.
|
isTransacted
IMessageBrowsingIterator getIterator() throws ListenerException
ListenerException
IMessageBrowsingIterator getIterator(Date startTime, Date endTime, IMessageBrowser.SortOrder order) throws ListenerException
ListenerException
IMessageBrowsingIteratorItem getContext(String storageKey) throws ListenerException
ListenerException
boolean containsMessageId(String originalMessageId) throws ListenerException
ListenerException
boolean containsCorrelationId(String correlationId) throws ListenerException
ListenerException
RawMessageWrapper<M> browseMessage(String storageKey) throws ListenerException
ListenerException
void deleteMessage(String storageKey) throws ListenerException
ListenerException
int getMessageCount() throws ListenerException
ListenerException
void setHideRegex(String hideRegex)
String getHideRegex()
void setHideMethod(IMessageBrowser.HideMethod hideMethod)
IMessageBrowser.HideMethod getHideMethod()
Copyright © 2023 Frank!Framework. All rights reserved.