public class AjaxServlet extends MessageListenerServlet
MessageListenerServlet with
the capability to server the amq.js script and associated
scripts from resources within the activemq-web jar. The amq.js script is the
client side companion to the MessageListenerServlet and supports sending
messages and long polling for receiving messages (Also called Comet style
Ajax).| Constructor and Description |
|---|
AjaxServlet() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Supports a HTTP DELETE to be equivlanent of consuming a singe message
from a queue
|
protected void |
doJavaScript(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
destroy, doMessages, doPost, getAjaxWebClient, getReadTimeout, init, writeMessageResponseappendParametersToMessage, asBoolean, asBoolean, asDestination, asInt, asInteger, asLong, asLong, asString, getDestination, getDestination, getDestinationFromURI, getPostedMessageBody, getSelector, getSendPriority, getSendTimeToLive, init, isSendPersistent, isSync, isTopicdoDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, serviceprotected void doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
java.io.IOException
MessageListenerServletdoGet in class MessageListenerServletjavax.servlet.ServletExceptionjava.io.IOExceptionprotected void doJavaScript(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.io.IOException,
javax.servlet.ServletException
java.io.IOExceptionjavax.servlet.ServletExceptionCopyright © 2005-2013 Red Hat, Inc.. All Rights Reserved.