public class PortfolioPublishServlet extends MessageServletSupport
| Constructor and Description |
|---|
PortfolioPublishServlet() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
createStockText(String stock) |
protected void |
doGet(HttpServletRequest request,
HttpServletResponse response) |
protected String |
escape(String text) |
protected int |
getNumberOfMessages(HttpServletRequest request) |
void |
init() |
protected double |
mutatePrice(double price) |
protected void |
sendMessage(WebClient client,
String[] stocks) |
appendParametersToMessage, asBoolean, asBoolean, asDestination, asInt, asInteger, asLong, asLong, asString, getDestination, getDestination, getDestinationFromURI, getPostedMessageBody, getSelector, getSendPriority, getSendTimeToLive, init, isSendPersistent, isSync, isTopicdoDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, servicedestroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, log, logpublic PortfolioPublishServlet()
public void init() throws ServletException
init in class GenericServletServletExceptionprotected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
doGet in class HttpServletServletExceptionIOExceptionprotected void sendMessage(WebClient client, String[] stocks) throws JMSException
JMSExceptionprotected String createStockText(String stock)
protected double mutatePrice(double price)
protected int getNumberOfMessages(HttpServletRequest request)
protected String escape(String text) throws IOException
IOExceptionCopyright © 2005–2016 FuseSource, Corp.. All rights reserved.