Author: dejanb
Date: Mon Sep  3 09:54:15 2012
New Revision: 1380187

URL: http://svn.apache.org/viewvc?rev=1380187&view=rev
Log:
https://issues.apache.org/jira/browse/AMQ-3905 - use 0.0.0.0 instead of 
localhost for default karaf configurations

Modified:
    
activemq/trunk/activemq-karaf/src/main/resources/org/apache/activemq/karaf/commands/blueprint.xml
    
activemq/trunk/activemq-karaf/src/main/resources/org/apache/activemq/karaf/commands/spring.xml

Modified: 
activemq/trunk/activemq-karaf/src/main/resources/org/apache/activemq/karaf/commands/blueprint.xml
URL: 
http://svn.apache.org/viewvc/activemq/trunk/activemq-karaf/src/main/resources/org/apache/activemq/karaf/commands/blueprint.xml?rev=1380187&r1=1380186&r2=1380187&view=diff
==============================================================================
--- 
activemq/trunk/activemq-karaf/src/main/resources/org/apache/activemq/karaf/commands/blueprint.xml
 (original)
+++ 
activemq/trunk/activemq-karaf/src/main/resources/org/apache/activemq/karaf/commands/blueprint.xml
 Mon Sep  3 09:54:15 2012
@@ -97,15 +97,14 @@
 
         <!-- The transport connectors ActiveMQ will listen to -->
         <transportConnectors>
-            <transportConnector name="openwire" uri="tcp://localhost:61616"/>
-            <transportConnector name="stomp" uri="stomp://localhost:61613"/>
+            <transportConnector name="openwire" uri="tcp://0.0.0.0:61616"/>
+            <transportConnector name="stomp" uri="stomp://0.0.0.0:61613"/>
         </transportConnectors>
 
     </broker>
 
     <bean id="activemqConnectionFactory" 
class="org.apache.activemq.ActiveMQConnectionFactory">
-
-        <property name="brokerURL" value="tcp://localhost:61616" />
+        <property name="brokerURL" value="tcp://0.0.0.0:61616" />
     </bean>
 
     <bean id="pooledConnectionFactory" 
class="org.apache.activemq.pool.PooledConnectionFactory">

Modified: 
activemq/trunk/activemq-karaf/src/main/resources/org/apache/activemq/karaf/commands/spring.xml
URL: 
http://svn.apache.org/viewvc/activemq/trunk/activemq-karaf/src/main/resources/org/apache/activemq/karaf/commands/spring.xml?rev=1380187&r1=1380186&r2=1380187&view=diff
==============================================================================
--- 
activemq/trunk/activemq-karaf/src/main/resources/org/apache/activemq/karaf/commands/spring.xml
 (original)
+++ 
activemq/trunk/activemq-karaf/src/main/resources/org/apache/activemq/karaf/commands/spring.xml
 Mon Sep  3 09:54:15 2012
@@ -19,7 +19,7 @@
   xmlns:amq="http://activemq.apache.org/schema/core";
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
   xmlns:osgi="http://www.springframework.org/schema/osgi";
-  xsi:schemaLocation="http://www.springframework.org/schema/beans 
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
+  xsi:schemaLocation="http://www.springframework.org/schema/beans 
http://www.springframework.org/schema/beans/spring-beans.xsd
   http://activemq.apache.org/schema/core 
http://activemq.apache.org/schema/core/activemq-core.xsd   
   http://activemq.apache.org/camel/schema/spring 
http://activemq.apache.org/camel/schema/spring/camel-spring.xsd
   http://www.springframework.org/schema/osgi 
http://www.springframework.org/schema/osgi/spring-osgi.xsd";>
@@ -106,15 +106,14 @@
 
         <!-- The transport connectors ActiveMQ will listen to -->
         <transportConnectors>
-            <transportConnector name="openwire" uri="tcp://localhost:61616"/>
-            <transportConnector name="stomp" uri="stomp://localhost:61613"/>
+            <transportConnector name="openwire" uri="tcp://0.0.0.0:61616"/>
+            <transportConnector name="stomp" uri="stomp://0.0.0.0:61613"/>
         </transportConnectors>
 
     </broker>
 
     <bean id="activemqConnectionFactory" 
class="org.apache.activemq.ActiveMQConnectionFactory">
-
-        <property name="brokerURL" value="tcp://localhost:61616" />
+        <property name="brokerURL" value="tcp://0.0.0.0:61616" />
     </bean>
 
     <bean id="pooledConnectionFactory" 
class="org.apache.activemq.pool.PooledConnectionFactory">


Reply via email to