org.apache.activemq.web.controller
Class CopyMessage

java.lang.Object
  extended by org.apache.activemq.web.DestinationFacade
      extended by 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
CopyMessage(BrokerFacade brokerFacade)
           
 
Method Summary
 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, redirectToRequest, removeDestination, setJMSDestination, setJMSDestinationType, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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 interface org.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)


Copyright © 2005–2013 The Apache Software Foundation. All rights reserved.