I don't understand how divert behavior and message redistribution are
related in your use-case. Can you elaborate on this?


Justin

On Sun, Jun 11, 2023 at 5:54 AM prateekjai...@gmail.com <
prateekjai...@gmail.com> wrote:

> Hi All,
>
>  I have a question on the behavior of diverts in activemq. Here is what I
> read in documentation:
>
> *A divert will only divert a message to an address on the same server. If
> you want to divert to an address on a different server, a common pattern
> would be to divert to a local store-and-forward queue, then set up a bridge
> that consumes from that queue and forwards to an address on a different
> server.*
>
> My query is, if we have a cluster setup where message re-distribution is
> happening between activemq nodes. What is the expected behavior? Will the
> messages get routed to nodes where consumers are attached or they endup on
> the same server/node?
>
>  In my case, I see that routing is not happening. Anything that can be done
> in a generic way which would enable redistribution for all diverts in the
> same cluster?
>
> Regards,
> Prateek Jain
>
> --------------------------------------------------------------
> EXPECTATION : Causes all troubles......
> --------------------------------------------------------------
>

Reply via email to