activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jimmyfrank <derek.beat...@gmail.com>
Subject Re: How do I get messages to forward without a consumer?
Date Thu, 17 Apr 2008 12:13:12 GMT

I don't set up the networkConnectors for Broker B because as I understand it
since A connects to B and has duplex=true, I don't need to.    So I won't
have a place to specify staticallyIncludedDestinations for broker B.  Unless
I can do that some other way. 


rajdavies wrote:
> 
> In which case - I'm guessing you have never registered a consumer on
> Broker A?
> So you need to set staticallyIncludedDestinations for your network
> connector configuration - so that messages get forwarded if a consumer has
> never registered on brokerA
> see  http://activemq.apache.org/networks-of-brokers.html Networks 
> 
> 
> jimmyfrank wrote:
>> 
>> Sorry, I mistyped.  I actually have dynamicOnly=false and without a
>> consumer running the messages still sit on broker B.
>> 
>> rajdavies wrote:
>>> 
>>> 
>>> On 16 Apr 2008, at 14:53, jimmyfrank wrote:
>>> 
>>>>
>>>> I'm using 5.2 4/15 snapshot.
>>>>
>>>> I have broker A connecting to broker B.  Broker A is behind a  
>>>> firewall so I
>>>> have A connect to B using duplex="true".  I also have  
>>>> dynamicOnly="true".
>>>> Everything seems to work great, a producer can put messages to  
>>>> test.q on
>>>> broker B and a consumer can pick them up on broker A.
>>>>
>>>> My questions is, when a producer that connects to broker B puts  
>>>> messages to
>>>> test.q, the messages will sit in the test.q on broker B, how can I  
>>>> get them
>>>> to be forwarded to the test.q on broker A if the consumer on A isn't
>>>> running?
>>>> -- 
>>>> View this message in context:
>>>> http://www.nabble.com/How-do-I-get-messages-to-forward-without-a-consumer--tp16722281s2354p16722281.html
>>>> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>>>>
>>> 
>>> The easiest thing to do is to set dynamicOnly=false
>>> 
>>> 
>>> cheers,
>>> 
>>> Rob
>>> 
>>> http://open.iona.com/ -Enterprise Open Integration
>>> http://rajdavies.blogspot.com/
>>> 
>>> 
>>> 
>>> 
>>> 
>> 
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/How-do-I-get-messages-to-forward-without-a-consumer--tp16722281s2354p16743553.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message