public class SendMessage extends DestinationFacade implements org.springframework.web.servlet.mvc.Controller
| Constructor and Description |
|---|
SendMessage(BrokerFacade brokerFacade) |
addDestination, createDestination, getBrokerAdmin, getBrokerFacade, getJMSDestination, getJMSDestinationType, getPhysicalDestinationName, getQueueView, getValidDestination, isQueue, redirectToBrowseView, redirectToDestinationView, redirectToRequest, removeDestination, setJMSDestination, setJMSDestinationType, toStringpublic SendMessage(BrokerFacade brokerFacade)
public org.springframework.web.servlet.ModelAndView handleRequest(HttpServletRequest request, HttpServletResponse response) throws Exception
handleRequest in interface org.springframework.web.servlet.mvc.ControllerExceptionprotected void sendMessages(HttpServletRequest request, WebClient client, org.apache.activemq.command.ActiveMQDestination dest) throws JMSException
JMSExceptionpublic String getJMSCorrelationID()
public void setJMSCorrelationID(String correlationID)
public String getJMSReplyTo()
public void setJMSReplyTo(String replyTo)
public String getJMSType()
public void setJMSType(String type)
public boolean isJMSPersistent()
public void setJMSPersistent(boolean persistent)
public int getJMSPriority()
public void setJMSPriority(int priority)
public String getJMSText()
public void setJMSText(String text)
public int getJMSTimeToLive()
public void setJMSTimeToLive(int timeToLive)
public int getJMSMessageCount()
public void setJMSMessageCount(int copies)
public String getJMSMessageCountHeader()
public void setJMSMessageCountHeader(String messageCountHeader)
protected Message createMessage(WebClient client, HttpServletRequest request) throws JMSException
JMSExceptionprotected void appendHeaders(Message message, HttpServletRequest request) throws JMSException
JMSExceptionprotected boolean isValidPropertyName(String name)
public String[] getSupportedHttpMethods()
getSupportedHttpMethods in class DestinationFacadeCopyright © 2005–2017 FuseSource, Corp.. All rights reserved.