activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dej...@apache.org
Subject svn commit: r700406 - /activemq/trunk/activemq-web/src/main/java/org/apache/activemq/web/DestinationFacade.java
Date Tue, 30 Sep 2008 10:27:07 GMT
Author: dejanb
Date: Tue Sep 30 03:27:07 2008
New Revision: 700406

URL: http://svn.apache.org/viewvc?rev=700406&view=rev
Log:
patch for AMQ-1326 applied (with a few more code improvements)

Modified:
    activemq/trunk/activemq-web/src/main/java/org/apache/activemq/web/DestinationFacade.java

Modified: activemq/trunk/activemq-web/src/main/java/org/apache/activemq/web/DestinationFacade.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-web/src/main/java/org/apache/activemq/web/DestinationFacade.java?rev=700406&r1=700405&r2=700406&view=diff
==============================================================================
--- activemq/trunk/activemq-web/src/main/java/org/apache/activemq/web/DestinationFacade.java
(original)
+++ activemq/trunk/activemq-web/src/main/java/org/apache/activemq/web/DestinationFacade.java
Tue Sep 30 03:27:07 2008
@@ -19,6 +19,7 @@
 import javax.servlet.http.HttpServletRequest;
 
 import org.apache.activemq.broker.jmx.BrokerViewMBean;
+import org.apache.activemq.broker.jmx.QueueViewMBean;
 import org.apache.activemq.command.ActiveMQDestination;
 import org.springframework.web.servlet.ModelAndView;
 
@@ -109,10 +110,14 @@
         }
         return jmsDestination;
     }
+    
+    protected QueueViewMBean getQueueView() throws Exception {
+        String name = getPhysicalDestinationName();
+        return getBrokerFacade().getQueue(name);
+    }    
 
     protected ModelAndView redirectToRequest(HttpServletRequest request) {
         String view = "redirect:" + request.getRequestURI();
-        // System.out.println("Redirecting to: " + view);
         return new ModelAndView(view);
     }
 



Mime
View raw message