|
||||||||||
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.MessageHttpServletDispatcher
public class MessageHttpServletDispatcher
MessageHttpServletDispatcher
dispatches JMS Messages
into a HttpServlet for procesing.
Constructor Summary | |
---|---|
MessageHttpServletDispatcher()
|
|
MessageHttpServletDispatcher(String path)
|
Method Summary | |
---|---|
protected HttpServletRequestImpl |
createHttpServletRequest()
|
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 MessageHttpServletDispatcher()
public MessageHttpServletDispatcher(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)
protected HttpServletRequestImpl createHttpServletRequest()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |