| java.lang.Object org.ow2.easybeans.examples.timerservice.MessageDrivenBean
MessageDrivenBean | public class MessageDrivenBean implements MessageListener(Code) | | Example of Message Driven Bean.
This is an JMS MDB, implementing the MessageListener interface.
author: Florent Benoit |
Method Summary | |
public void | onMessage(Message message) Passes a message to the listener. | public void | theMDBtimerMethod(Timer timer) Timeout method that will be called by the timer service when a timer is expiring. |
onMessage | public void onMessage(Message message)(Code) | | Passes a message to the listener.
Parameters: message - - the message passed to the listener |
theMDBtimerMethod | public void theMDBtimerMethod(Timer timer)(Code) | | Timeout method that will be called by the timer service when a timer is expiring.
Parameters: timer - the timer object containing some data. |
|
|