https://issues.apache.org/jira/browse/AMQ-3905 - use 0.0.0.0 instead of localhost for default karaf configurations

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1380187 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Bosanac Dejan 2012-09-03 09:54:15 +00:00
parent e85a8bd11c
commit 99088c7ba6
2 changed files with 7 additions and 9 deletions

View File

@ -97,15 +97,14 @@
<!-- The transport connectors ActiveMQ will listen to --> <!-- The transport connectors ActiveMQ will listen to -->
<transportConnectors> <transportConnectors>
<transportConnector name="openwire" uri="tcp://localhost:61616"/> <transportConnector name="openwire" uri="tcp://0.0.0.0:61616"/>
<transportConnector name="stomp" uri="stomp://localhost:61613"/> <transportConnector name="stomp" uri="stomp://0.0.0.0:61613"/>
</transportConnectors> </transportConnectors>
</broker> </broker>
<bean id="activemqConnectionFactory" class="org.apache.activemq.ActiveMQConnectionFactory"> <bean id="activemqConnectionFactory" class="org.apache.activemq.ActiveMQConnectionFactory">
<property name="brokerURL" value="tcp://0.0.0.0:61616" />
<property name="brokerURL" value="tcp://localhost:61616" />
</bean> </bean>
<bean id="pooledConnectionFactory" class="org.apache.activemq.pool.PooledConnectionFactory"> <bean id="pooledConnectionFactory" class="org.apache.activemq.pool.PooledConnectionFactory">

View File

@ -19,7 +19,7 @@
xmlns:amq="http://activemq.apache.org/schema/core" xmlns:amq="http://activemq.apache.org/schema/core"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:osgi="http://www.springframework.org/schema/osgi" 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/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://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"> 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 --> <!-- The transport connectors ActiveMQ will listen to -->
<transportConnectors> <transportConnectors>
<transportConnector name="openwire" uri="tcp://localhost:61616"/> <transportConnector name="openwire" uri="tcp://0.0.0.0:61616"/>
<transportConnector name="stomp" uri="stomp://localhost:61613"/> <transportConnector name="stomp" uri="stomp://0.0.0.0:61613"/>
</transportConnectors> </transportConnectors>
</broker> </broker>
<bean id="activemqConnectionFactory" class="org.apache.activemq.ActiveMQConnectionFactory"> <bean id="activemqConnectionFactory" class="org.apache.activemq.ActiveMQConnectionFactory">
<property name="brokerURL" value="tcp://0.0.0.0:61616" />
<property name="brokerURL" value="tcp://localhost:61616" />
</bean> </bean>
<bean id="pooledConnectionFactory" class="org.apache.activemq.pool.PooledConnectionFactory"> <bean id="pooledConnectionFactory" class="org.apache.activemq.pool.PooledConnectionFactory">