activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r358107 - /incubator/activemq/trunk/activemq-web/src/main/java/org/activemq/web/WebClient.java
Date Tue, 20 Dec 2005 21:20:51 GMT
Author: chirino
Date: Tue Dec 20 13:20:47 2005
New Revision: 358107

URL: http://svn.apache.org/viewcvs?rev=358107&view=rev
Log:
the useEmbeddedBroker property not needed anymore.

Modified:
    incubator/activemq/trunk/activemq-web/src/main/java/org/activemq/web/WebClient.java

Modified: incubator/activemq/trunk/activemq-web/src/main/java/org/activemq/web/WebClient.java
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/activemq-web/src/main/java/org/activemq/web/WebClient.java?rev=358107&r1=358106&r2=358107&view=diff
==============================================================================
--- incubator/activemq/trunk/activemq-web/src/main/java/org/activemq/web/WebClient.java (original)
+++ incubator/activemq/trunk/activemq-web/src/main/java/org/activemq/web/WebClient.java Tue
Dec 20 13:20:47 2005
@@ -59,7 +59,6 @@
     public static final String connectionFactoryAttribute = "org.activemq.connectionFactory";
     public static final String queueConsumersAttribute = "org.activemq.queueConsumers";
     public static final String brokerUrlInitParam = "org.activemq.brokerURL";
-    public static final String embeddedBrokerInitParam = "org.activemq.embeddedBroker";
 
     private static final Log log = LogFactory.getLog(WebClient.class);
 
@@ -202,12 +201,8 @@
                 brokerURL = "vm://localhost";
             }
 
-            boolean embeddedBroker = MessageServletSupport.asBoolean(servletContext.getInitParameter(embeddedBrokerInitParam));
-            servletContext.log("Use embedded broker: " + embeddedBroker);
 
             ActiveMQConnectionFactory factory = new ActiveMQConnectionFactory(brokerURL);
-            factory.setUseEmbeddedBroker(embeddedBroker);
-
             connectionFactory = factory;
             servletContext.setAttribute(connectionFactoryAttribute, connectionFactory);
         }



Mime
View raw message