activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From robottaway <>
Subject Re: networkConnectors causing NPE
Date Wed, 08 Nov 2006 22:22:16 GMT

Sorry didn't post cuz I thought I was doing things pretty standard like, here
is my conf:

<beans xmlns="">

  <!-- Allows us to use system properties as variables in this configuration
file -->

  <broker useJmx="true">
    <brokerName>Rob's Computer AMQ 4.0.2 broker</brokerName>
    <!--  Use the following to set the broker memory limit (in bytes)
        <usageManager id="memory-manager" limit="1048576"/>

    <!-- Use the following to configure how ActiveMQ is exposed in JMX -->
       <managementContext connectorPort="1098"

    <!-- In ActiveMQ 4, you can setup destination policies -->

          <policyEntry topic="FOO.>">
              <strictOrderDispatchPolicy />
              <lastImageSubscriptionRecoveryPolicy />


      <!--  <journaledJDBC journalLogFiles="5"
dataDirectory="${activemq.home}/activemq-data"/> -->
      <!-- To use a different datasource, use th following syntax : -->
      <journaledJDBC journalLogFiles="5" dataDirectory="../activemq-data"

       <transportConnector name="default" uri="tcp://localhost:61605"
       <transportConnector name="stomp"   uri="stomp://localhost:61606"/>

      <!-- by default just auto discover the other brokers -->
      <networkConnector name="default" uri="multicast://default"/>
      <networkConnector name="host1 and host2"
uri="static://(tcp://host1:61616,tcp://host2:61616)" failover="true"/>


Everything works dandy until I throw in the 'networkConnector' element under
View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message