Changeset 2975

Show
Ignore:
Timestamp:
08/11/10 10:51:07
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
  • releases/bedework-3.6/config/bwbuild/jboss-h2/activemq-broker-config.xml

    r2831 r2975  
    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      --> 
  • releases/bedework-3.6/config/bwbuild/jboss-mysql/activemq-broker-config.xml

    r2784 r2975  
    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      --> 
  • releases/bedework-3.6/config/bwbuild/jboss-postgresql/activemq-broker-config.xml

    r2965 r2975  
    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      --> 
  • releases/bedework-3.6/config/bwbuild/jboss/activemq-broker-config.xml

    r2788 r2975  
    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      -->