Class JMSListener

  • All Implemented Interfaces:
    TransportListener, TransportErrorSource, ManagementSupport

    public class JMSListener
    extends AbstractTransportListenerEx<JMSEndpoint>
    implements ManagementSupport, TransportErrorSource
    The revamped JMS Transport listener implementation. Creates ServiceTaskManager instances for each service requesting exposure over JMS, and stops these if they are undeployed / stopped.

    A service indicates a JMS Connection factory definition by name, which would be defined in the JMSListner on the axis2.xml, and this provides a way to reuse common configuration between services, as well as to optimize resources utilized

    If the connection factory name was not specified, it will default to the one named "default" {@see JMSConstants.DEFAULT_CONFAC_NAME}

    If a destination JNDI name is not specified, a service will expect to use a Queue with the same JNDI name as of the service. Additional Parameters allows one to bind to a Topic or specify many more detailed control options. See package documentation for more details

    All Destinations / JMS Administered objects used MUST be pre-created or already available