You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by goldi <go...@freenet.de> on 2007/04/30 15:34:55 UTC
JBoss does not start because of no Remote Connection!
Hi everybody,
I have configured an embedded broker (with an jms to jms bridge) in JBoss.
This is my broker configuration:
<beans>
<broker xmlns="http://activemq.org/config/1.0" useJmx="true"
brokerName="bruce.broker1" persistent="false">
<transportConnectors>
<transportConnector name="${activemq.brokername}"
uri="${activemq.brokerUrl}"/>
</transportConnectors>
<jmsBridgeConnectors>
<jmsTopicConnector name="JreportRequestBridge-Inbound"
outboundTopicConnectionFactory="#remoteFactory">
<outboundTopicBridges>
<outboundTopicBridge outboundTopicName="${activemq.MainTopic}"/>
</outboundTopicBridges>
<inboundTopicBridges>
<inboundTopicBridge inboundTopicName="${activemq.MainTopic}"
localTopicName="${activemq.LokalTopic}" selector="${activemq.Selector}"
consumerName="${activemq.ConsumerName}"/>
</inboundTopicBridges>
</jmsTopicConnector>
</jmsBridgeConnectors>
</broker>
<bean id="remoteFactory"
class="org.apache.activemq.ActiveMQConnectionFactory">
<property name="brokerURL" value="${activemq.remoteURL}" />
<property name="clientID" value="${activemq.ClientID}"/>
</bean>
</beans>
Everything works fine.The problem is, if I start up JBoss and there is no
remote connection available, then the AtiveMQConnectionFactory tries to
build a connection until it has a connection or until it has reached the
"maxReconnectAttempts". So in the first case JBoss can't start completely
until there is a connection, in the 2nd case JBoss starts up but I don't
have a remote connection. How could I handle this problem?
Greets Goldi
--
View this message in context: http://www.nabble.com/JBoss-does-not-start-because-of-no-Remote-Connection%21-tf3669681s2354.html#a10253551
Sent from the ActiveMQ - User mailing list archive at Nabble.com.