|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.commons.messagelet.MessageDrivenObjectSupport org.apache.commons.messagelet.impl.MessageServletDispatcher
public class MessageServletDispatcher
MessageDispatcher
dispatches JMS Messages
into a Servlet engine for procesing.
Constructor Summary | |
---|---|
MessageServletDispatcher()
|
|
MessageServletDispatcher(String path)
|
Method Summary | |
---|---|
String |
getPath()
Getter for property path. |
protected void |
handleException(javax.jms.Message message,
Throwable t)
|
void |
init()
This method allows the init() method to be overriden without having to call the super.init( ServletContext ) method first. |
void |
onMessage(javax.jms.Message message)
Process the incoming JMS Message. |
void |
setMessenger(Messenger messenger)
Called whenever this MessageListener is added to a Messenger via the addListener() method to associate this MessageListener with a Messenger instance.. |
void |
setPath(String path)
Setter for property path. |
Methods inherited from class org.apache.commons.messagelet.MessageDrivenObjectSupport |
---|
destroy, getLog, getServletContext, init, log, log |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MessageServletDispatcher()
public MessageServletDispatcher(String path)
Method Detail |
---|
public void init() throws javax.servlet.ServletException
MessageDrivenObjectSupport
GenericServlet
.
init
in class MessageDrivenObjectSupport
javax.servlet.ServletException
public void setMessenger(Messenger messenger)
MessengerListener
setMessenger
in interface MessengerListener
public void onMessage(javax.jms.Message message)
onMessage
in interface javax.jms.MessageListener
message
- is the message to be processedpublic String getPath()
public void setPath(String path)
path
- New value of property path.protected void handleException(javax.jms.Message message, Throwable t)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |