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