Package org.apache.commons.messagelet

This package provides the mechansim to deploy MessageListener beans in a servlet application server which are intialized and destroyed with a web-application as well as introducing MessageDrivenObjects which are MessageListeners which receive servlet-style lifecycle events and Messagelets which are servlets that process Messages.

See:
          Description

Interface Summary
MessageDrivenObject MessageDrivenObject is a message driven bean which is deployed in a Servlet engine as its application server.
MessageletRequest MessageletRequest represents a servlet request that resulted from a JMS Message being received.
MessageletResponse MessageletResponse represents a servlet response from a JMS Message.
 

Class Summary
BridgeMDO BridgeMDO is an MDO which implements a JMS bridge from one JMS destination and connection to another.
ConsumerThread ConsumerThread is a thread which will repeatedly consume JMS messages using a receive() method on Messenger and then process the message.
DistributeBridgeMDO DistributeBridgeMDO is an MDO which consumes JMS from one destination and randomly distributes them across a number of other destinations.
Main Main is a simple command line program that will create a number of subscriptions and consume messages using just regular MDO and MessageListener classes.
ManagerServlet ManagerServlet manages the initialisation and destruction of the Messenger connections and use of MessageListener beans for a given ServletContext.
MessageDrivenObjectSupport MessageDrivenObjectSupport is an abstract base class for implementing your own MessageDrivenObject instance with some useful implementation level methods.
Messagelet Messengerlet the base class for a servlet which processes JMS messages via a MessageletRequest and MessageletResponse.
MessengerMDO MessengerMDO is an abstract base class for Messenger based MDO implementations.
SubscriptionManager SubscriptionManager is a simple command line program that will create a number of subscriptions and consume messages using just regular MDO and MessageListener classes.
XAConsumerThread XAConsumerThread is a thread which will perform XA processing of messages
 

Package org.apache.commons.messagelet Description

This package provides the mechansim to deploy MessageListener beans in a servlet application server which are intialized and destroyed with a web-application as well as introducing MessageDrivenObjects which are MessageListeners which receive servlet-style lifecycle events and Messagelets which are servlets that process Messages.

So this package introduces the interface MessageDrivenObject which is a servlet equivalent of a Message Driven EJB which is part of the EJB 2.0 spec.

In addition this package provides support for Messagelets which are servlets used to process JMS messages. They reuse the same message listener beans infrastructure but dispatch JMS Messages to a servlet for further processing.

2 new interfaces are introduced, MessageletRequest which extends ServletRequest and MessageletResponse which extends ServletResponse which adds some extra JMS based semantics such as access to the Messenger which was used to receive the JMS Message..



Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.