Class HttpListener

All Implemented Interfaces:
HasPhysicalDestination, IConfigurable, IConfigurationAware, IListener<Message>, INamedObject, IPushingListener<Message>, IScopeProvider, ServiceClient, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

@Deprecated(forRemoval=true, since="7.8.0") public class HttpListener extends PushingListenerAdapter implements HasPhysicalDestination
Deprecated, for removal: This API element is subject to removal in a future version.
Implementation of a IPushingListener that enables a Receiver to receive messages from HTTP requests. If you are writing a new configuration, you are recommended to use an ApiListener or a WebServiceListener instead.
Since:
4.4.x (still experimental)
Author:
Gerrit van Brakel
  • Constructor Details

    • HttpListener

      public HttpListener()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • open

      public void open() throws ListenerException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: IListener
      Prepares the listener for receiving messages. open() is called once each time the listener is started.
      Specified by:
      open in interface IListener<Message>
      Overrides:
      open in class PushingListenerAdapter
      Throws:
      ListenerException
    • close

      public void close()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: IListener
      Close all resources used for listening. Called once each time the listener is stopped.
      Specified by:
      close in interface IListener<Message>
      Overrides:
      close in class PushingListenerAdapter
    • getPhysicalDestinationName

      public String getPhysicalDestinationName()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getPhysicalDestinationName in interface HasPhysicalDestination
    • setServiceName

      public void setServiceName(String string)
      Deprecated, for removal: This API element is subject to removal in a future version.
      name of the service that is provided by the adapter of this listener
    • getDomain

      public String getDomain()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getDomain in interface HasPhysicalDestination
    • getServiceName

      public String getServiceName()
      Deprecated, for removal: This API element is subject to removal in a future version.