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

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..