Hi,

I'm trying to configure a Fedora 3.6.2 with an external ActiveMQ broker like explained in the documentation (https://wiki.duraspace.org/display/FEDORA36/Messaging) but without being able to make it works.

The web console of the external activeMQ shows the connexion but the two topics don't appear and it doesn't receive the messages.

The external activeMQ works fine with 3 other Fedora repositories (version 3.3.1) so I suppose it's not the cause of the problem. It's an activeMQ 5.6 and I updated it to 5.6 but it didn't change anything. I added a log dedicated for the embedded activeMQ but it doesn't show an error.

My configuration for the ActiveMQ embedded broker (~/server/conf/activemq.xml) is the next:

   <beans
      xmlns="http://www.springframework.org/schema/beans";
      xmlns:amq="http://activemq.apache.org/schema/core";
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://www.springframework.org/schema/beanshttp://www.springframework.org/schema/beans/spring-beans-2.0.xsd
   
http://activemq.apache.org/schema/corehttp://activemq.apache.org/schema/core/activemq-core-5.6.0.xsd";>


      <!-- ActiveMQ JMS Broker configuration -->
      <amq:broker brokerName="broker_fedora" brokerId="broker_fedora"
   useShutdownHook="false">

        <amq:managementContext>
          <amq:managementContext connectorPort="1093"
   createConnector="false"/>
        </amq:managementContext>

        <!-- Your remote broker, configured with failover -->
        <amq:networkConnectors>
           <!--  dynamicOnly="true" -->
           <amq:networkConnector name="fedorabridge"
   
uri="static:(failover:(tcp://0.0.0.0:61617)?maxReconnectDelay=1000&amp;timeout=1000&amp;maxReconnectAttempts=0)"/>
        </amq:networkConnectors>

        <!-- The directory where Fedora will store the ActiveMQ data -->
        <amq:persistenceAdapter>
            <amq:amqPersistenceAdapter
   directory="file:/usr/local/fedora/data/amq"/>
        </amq:persistenceAdapter>
      </amq:broker>

      <!-- Set this to prevent objects from being serialized when
           passed along to your embedded broker;  saves some overhead
   processing -->
      <bean id="jmsConnectionFactory"
   class="org.apache.activemq.ActiveMQConnectionFactory">
         <property name="objectMessageSerializationDefered"
   value="false"/>
      </bean>

   </beans>


Has anyone encountered the same problem ? Any idea or information is welcome.

Thanks in advance,

Christian Ruchat
------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Fedora-commons-users mailing list
Fedora-commons-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

Reply via email to