activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject svn commit: r674438 - /activemq/trunk/activemq-web/src/main/java/org/apache/activemq/web/MessageServletSupport.java
Date Mon, 07 Jul 2008 10:07:49 GMT
Author: jlim
Date: Mon Jul  7 03:07:49 2008
New Revision: 674438

URL: http://svn.apache.org/viewvc?rev=674438&view=rev
Log:
fix for https://issues.apache.org/activemq/browse/AMQ-1840

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

Modified: activemq/trunk/activemq-web/src/main/java/org/apache/activemq/web/MessageServletSupport.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-web/src/main/java/org/apache/activemq/web/MessageServletSupport.java?rev=674438&r1=674437&r2=674438&view=diff
==============================================================================
--- activemq/trunk/activemq-web/src/main/java/org/apache/activemq/web/MessageServletSupport.java
(original)
+++ activemq/trunk/activemq-web/src/main/java/org/apache/activemq/web/MessageServletSupport.java
Mon Jul  7 03:07:49 2008
@@ -248,7 +248,7 @@
      */
     protected Destination getDestination(WebClient client, HttpServletRequest request) throws
JMSException {
         String destinationName = request.getParameter(destinationParameter);
-        if (destinationName == null) {
+        if (destinationName == null  || destinationName.equals("")) {
             if (defaultDestination == null) {
                 return getDestinationFromURI(client, request);
             } else {



Mime
View raw message