public interface IPostboxListener<M> extends IPullingListener<M>
IPostboxListener
is responsible for querying a message
from a postbox.Modifier and Type | Method and Description |
---|---|
RawMessageWrapper<M> |
retrieveRawMessage(String messageSelector,
Map<String,Object> threadContext)
Retrieves the first message found from queue or other channel, that matches the
specified
messageSelector . |
closeThread, getRawMessage, openThread
afterMessageProcessed, close, configure, extractMessage, open
getName, setName
getApplicationContext, getName
getConfigurationClassLoader
RawMessageWrapper<M> retrieveRawMessage(String messageSelector, Map<String,Object> threadContext) throws ListenerException, TimeoutException
messageSelector
.
messageSelector
- search criteria for messages. Not that the format of the selector
changes per listener, for example a JMSListener's messageSelector follows the JMS specification.threadContext
- context in which the method is calledListenerException
TimeoutException
Copyright © 2023 Frank!Framework. All rights reserved.