[prev in list] [next in list] [prev in thread] [next in thread]
List: activemq-users
Subject: RES: Divert messages
From: Edson Richter <edsonrichter () hotmail ! com>
Date: 2021-07-27 6:29:53
Message-ID: CP2P152MB0403B64E0F1407C9C34E7C6DCFE99 () CP2P152MB0403 ! LAMP152 ! PROD ! OUTLOOK ! COM
[Download RAW message or body]
Please,
Would someone confirm I can divert message from one address (with several queues) to \
another “spy” queue? What is the correct syntax? May be I’m too blind, but docs seems \
not too clear for me, and I’ve tryied several setups (including copying from examples \
in Github), but still not working.
Thanks in advance,
ER
Enviado do Email<https://go.microsoft.com/fwlink/?LinkId=550986> para Windows 10
De: Edson Richter<mailto:edsonrichter@hotmail.com>
Enviado:sexta-feira, 23 de julho de 2021 17:33
Para: users@activemq.apache.org<mailto:users@activemq.apache.org>
Assunto: RES: Divert messages
Right, I forgot to put in the provided example – follow with complete address \
declarations:
<!-- queue specifications -->
<addresses>
<address name="sf000144_debug" ><multicast>
<queue name="dbg"><durable>true</durable></queue>
</multicast></address>
<address name="my-portal"><anycast>
<queue name="sf000144_01"><durable>true</durable></queue>
<queue name="sf000144_02"><durable>true</durable></queue>
</anycast></address>
</addresses>
<-- divert rule -->
<diverts>
<divert name="my-divert">
<routing-name>sf000144_debug</routing-name>
<address>my-portal</address>
<forwarding-address>sf000144_debug.dbg</forwarding-address>
<exclusive>false</exclusive>
</divert>
</diverts>
Enviado do Email<https://go.microsoft.com/fwlink/?LinkId=550986> para Windows 10
De: Justin Bertram<mailto:jbertram@apache.org>
Enviado:sexta-feira, 23 de julho de 2021 17:28
Para: users@activemq.apache.org<mailto:users@activemq.apache.org>
Assunto: Re: Divert messages
Where is the address "sf000144_debug.dbg" defined? I don't see it in your
<addresses> block.
Justin
On Fri, Jul 23, 2021 at 3:18 PM Edson Richter <edsonrichter@hotmail.com>
wrote:
> Hi!
>
> I’ve been trying to “divert” messages for my team debugging purposes.
>
> What I have done so far:
>
> <!-- queue specifications -->
> <addresses>
> <address name="my-portal"><anycast>
> <queue name="sf000144_01"><durable>true</durable></queue>
> <queue name="sf000144_02"><durable>true</durable></queue>
> </anycast></address>
> </addresses>
>
> <-- divert rule -->
> <diverts>
> <divert name="my-divert">
> <routing-name>sf000144_debug</routing-name>
> <address>my-portal</address>
> <forwarding-address>sf000144_debug.dbg</forwarding-address>
> <exclusive>false</exclusive>
> </divert>
> </diverts>
>
>
> What I did I expect: “all messages sent to my-portal::sf000144_01 or to
> my-portal::sf000144_02 have a copy into sf000144_debug::dbg queue”
>
> Nothing gets “diverted” into the “sf000144_debug.dbg” queue – also tryied
> just the address “sf000144_debug”.
> I get no log or console message that would help to identify why messages
> are not being copied into the new queue.
> Your help will be higly appreciated.
>
>
> Regards,
>
> ER
>
> Enviado do Email<https://go.microsoft.com/fwlink/?LinkId=550986> para
> Windows 10
>
>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic