activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "madderla prem kumar (JIRA)" <>
Subject [jira] Commented: (AMQ-2259) network of brokers - pending messages not getting forwarded
Date Thu, 18 Jun 2009 20:27:35 GMT


madderla prem kumar commented on AMQ-2259:

I have static entries in network connectors like uri="static:(tcp://localhost:41616)  for
each other.
But i guess the issue is that a message will never traverse through a broker if it has already
visited it once, Please correct me if am wrong . 

messages got forwarded from AMQ1 to AMQ2   in STEP1
And in STEP2 when the consumers are activated on AMQ1 then messages dint get forwarded from
AMQ2 back to AMQ1 because it will result in cyclic forwarding.

If cyclic forwarding is the issue , is there a way to disable this behavior ,  We have brokers
connected in network and the consumers on these brokers will be moving around the network
during the release cycles.

> network of brokers - pending messages not getting forwarded
> -----------------------------------------------------------
>                 Key: AMQ-2259
>                 URL:
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.2.0
>            Reporter: madderla prem kumar
> Hi ,
>     Am having an issue with network of brokers where in the pending messages are not
getting forwarded . Here is the scenario .
>   I have two brokers configured in network AMQ1 and AMQ2. I have defined a virtual topic
> STEP 1)  Publisher is publishing 10 messages on AMQ1 and AMQ2 has a consumer to the virtual
queue Consumer.X.Virtual.A with a selector that matches half the messages  (5 messages) published
, and the web console correctly shows 5 pending messages.
> STEP 2) Now I bring up a consumer Consumer.X.virtual.A on AMQ1 (with out restarting the
broker) , this time with a selector matching the remaining pending messages . I have left
it running for a while and dint see any messages getting forwarded from AMQ2 to AMQ1 . (am
not using conduit subscription and my networkTTL is set to 5 with dynamicOnly set to true)
> STEP 3) But when i restart AMQ1 , I see all messages forwarded from AMQ2 to AMQ1.
> Am I missing some configuration here ?
> Have another question on web console as well .
> After STEP 1 on AMQ1 I see Messages sent and Messages received set to 10 and on AMQ2
messages sent was 10 and messages received was 5 while pending messages were 5 .
> Why would AMQ1 show it as 10 for both receive and sent , Should i be reading it as messages
received and messages forwarded.
> I greatly appreciate your response .

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message