Class CopyMessage
- java.lang.Object
-
- org.apache.activemq.web.DestinationFacade
-
- org.apache.activemq.web.controller.CopyMessage
-
- All Implemented Interfaces:
org.springframework.web.servlet.mvc.Controller
public class CopyMessage extends DestinationFacade implements org.springframework.web.servlet.mvc.Controller
Copies a message from one to another queue
-
-
Constructor Summary
Constructors Constructor Description CopyMessage(BrokerFacade brokerFacade)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDestination()
String
getMessageId()
org.springframework.web.servlet.ModelAndView
handleRequest(HttpServletRequest request, HttpServletResponse response)
void
setDestination(String destination)
void
setMessageId(String messageId)
-
Methods inherited from class org.apache.activemq.web.DestinationFacade
addDestination, createDestination, getBrokerAdmin, getBrokerFacade, getJMSDestination, getJMSDestinationType, getPhysicalDestinationName, getQueueView, getSupportedHttpMethods, getValidDestination, isQueue, redirectToBrowseView, redirectToDestinationView, redirectToRequest, removeDestination, setJMSDestination, setJMSDestinationType, toString
-
-
-
-
Constructor Detail
-
CopyMessage
public CopyMessage(BrokerFacade brokerFacade)
-
-
Method Detail
-
handleRequest
public org.springframework.web.servlet.ModelAndView handleRequest(HttpServletRequest request, HttpServletResponse response) throws Exception
- Specified by:
handleRequest
in interfaceorg.springframework.web.servlet.mvc.Controller
- Throws:
Exception
-
getMessageId
public String getMessageId()
-
setMessageId
public void setMessageId(String messageId)
-
getDestination
public String getDestination()
-
setDestination
public void setDestination(String destination)
-
-