Interface IPostboxListener<M>

All Superinterfaces:
org.springframework.context.ApplicationContextAware, org.springframework.beans.factory.Aware, IConfigurable, IConfigurationAware, IListener<M>, INamedObject, IPullingListener<M>, IScopeProvider
All Known Implementing Classes:
PullingJmsListener

@Deprecated(forRemoval=true, since="7.7.0") public interface IPostboxListener<M> extends IPullingListener<M>
Deprecated, for removal: This API element is subject to removal in a future version.
The IPostboxListener is responsible for querying a message from a postbox.
Author:
John Dekker
  • Method Details

    • retrieveRawMessage

      RawMessageWrapper<M> retrieveRawMessage(String messageSelector, Map<String,Object> threadContext) throws ListenerException, TimeoutException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Retrieves the first message found from queue or other channel, that matches the specified messageSelector.

      Parameters:
      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 called
      Throws:
      ListenerException
      TimeoutException