activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "goldi (JIRA)" <>
Subject [jira] Created: (AMQ-1285) JBoss does not start because of no Remote Connection!
Date Wed, 20 Jun 2007 08:08:32 GMT
JBoss does not start because of no Remote Connection!

                 Key: AMQ-1285
             Project: ActiveMQ
          Issue Type: Bug
          Components: Broker
    Affects Versions: 4.1.1
         Environment: JBoss (Integration)
            Reporter: goldi

Hi everybody,

I have configured an embedded broker (with an jms to jms bridge) in JBoss. This is my broker


<broker xmlns="" useJmx="true" brokerName="bruce.broker1"

                        <transportConnector name="${activemq.brokername}" uri="${activemq.brokerUrl}"/>

                        <jmsTopicConnector name="JreportRequestBridge-Inbound" outboundTopicConnectionFactory="#remoteFactory">
                                        <outboundTopicBridge outboundTopicName="${activemq.MainTopic}"/>

                                        <inboundTopicBridge inboundTopicName="${activemq.MainTopic}"
localTopicName="${activemq.LokalTopic}" selector="${activemq.Selector}" consumerName="${activemq.ConsumerName}"/>

        <bean id="remoteFactory" class="org.apache.activemq.ActiveMQConnectionFactory">
                <property name="brokerURL" value="${activemq.remoteURL}" />
                <property name="clientID" value="${activemq.ClientID}"/>


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

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message