Changeset 2976

Show
Ignore:
Timestamp:
08/11/10 10:51:08
Author:
douglm
Message:

In <conf>/activemq-broker-conf.xml change

<transportConnector name="bedework" uri="tcp://localhost:61616" discoveryUri="multicast://default"/>
to
<transportConnector name="bedework" uri="tcp://localhost:61616" />

That is - drop the discoveryUri.

According to the activemq book this allows activemq brokers to discover each other and possibly consume their messages. At the very least it appears to be the source of some exceptions I get when I suspend my laptop.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/config/bwbuild/jboss-h2/activemq-broker-config.xml

    r2832 r2976  
    8484              <queue physicalName="bedework.sysevents.logger" /> 
    8585              <queue physicalName="bedework.sysevents.monitor" /> 
    86               <filteredDestination selector="indexable = 'true'" 
    87                                    queue="bedework.crawler"/> 
     86              <queue physicalName="bedework.crawler" /> 
    8887              <filteredDestination selector="inbox = 'true'" 
    8988                                   queue="bedework.scheduleIn"/> 
     
    197196    <!-- The transport connectors ActiveMQ will listen to --> 
    198197    <transportConnectors> 
     198      <transportConnector name="bedework" uri="tcp://localhost:61616" /> 
     199      <!-- 
     200        According to the book we shouldn't specify a discoveryUri - can lead to 
     201        multiple activemq brokers eating each others messages, At the very least 
     202        it leads to exceptions when I close the lid of my laptop. 
    199203      <transportConnector name="bedework" uri="tcp://localhost:61616" discoveryUri="multicast://default"/> 
    200       <!-- 
    201204      <transportConnector name="xmpp" uri="xmpp://localhost:61222"/> 
    202205      --> 
  • trunk/config/bwbuild/jboss-mysql/activemq-broker-config.xml

    r2777 r2976  
    196196    <!-- The transport connectors ActiveMQ will listen to --> 
    197197    <transportConnectors> 
     198      <transportConnector name="bedework" uri="tcp://localhost:61616" /> 
     199      <!-- 
     200        According to the book we shouldn't specify a discoveryUri - can lead to 
     201        multiple activemq brokers eating each others messages, At the very least 
     202        it leads to exceptions when I close the lid of my laptop. 
    198203      <transportConnector name="bedework" uri="tcp://localhost:61616" discoveryUri="multicast://default"/> 
    199       <!-- 
    200204      <transportConnector name="xmpp" uri="xmpp://localhost:61222"/> 
    201205      --> 
  • trunk/config/bwbuild/jboss-postgresql/activemq-broker-config.xml

    r2877 r2976  
    196196    <!-- The transport connectors ActiveMQ will listen to --> 
    197197    <transportConnectors> 
     198      <transportConnector name="bedework" uri="tcp://localhost:61616" /> 
     199      <!-- 
     200        According to the book we shouldn't specify a discoveryUri - can lead to 
     201        multiple activemq brokers eating each others messages, At the very least 
     202        it leads to exceptions when I close the lid of my laptop. 
    198203      <transportConnector name="bedework" uri="tcp://localhost:61616" discoveryUri="multicast://default"/> 
    199       <!-- 
    200204      <transportConnector name="xmpp" uri="xmpp://localhost:61222"/> 
    201205      --> 
  • trunk/config/bwbuild/jboss/activemq-broker-config.xml

    r2787 r2976  
    8484              <queue physicalName="bedework.sysevents.logger" /> 
    8585              <queue physicalName="bedework.sysevents.monitor" /> 
    86               <filteredDestination selector="indexable = 'true'" 
    87                                    queue="bedework.crawler"/> 
     86              <queue physicalName="bedework.crawler" /> 
    8887              <filteredDestination selector="inbox = 'true'" 
    8988                                   queue="bedework.scheduleIn"/> 
     
    197196    <!-- The transport connectors ActiveMQ will listen to --> 
    198197    <transportConnectors> 
     198      <transportConnector name="bedework" uri="tcp://localhost:61616" /> 
     199      <!-- 
     200        According to the book we shouldn't specify a discoveryUri - can lead to 
     201        multiple activemq brokers eating each others messages, At the very least 
     202        it leads to exceptions when I close the lid of my laptop. 
    199203      <transportConnector name="bedework" uri="tcp://localhost:61616" discoveryUri="multicast://default"/> 
    200       <!-- 
    201204      <transportConnector name="xmpp" uri="xmpp://localhost:61222"/> 
    202205      -->