Concurrent connections with same clientid to networks of brokers

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Concurrent connections with same clientid to networks of brokers

paddycarman
Hi All,
    I have two brokers A and B connected to each other as networks of
brokers setup.

I connect a client with clientid C1 to broker A.

Case1: When I connect another client with same client id (C1) to broker A,
it fails with exception ("already connected"), which is the expected
behavior.

Case2: When I connect another client with same client id C1 to broker B, it
does not fail. I believe that this is also the expected behavior.

Question: Is there a way to detect that there is an existing online
connection with the same clientid in the network bridge so that I can throw
"already connected" exception in Case2?

Thanks in advance for your help.

PC
Reply | Threaded
Open this post in threaded view
|

Re: Concurrent connections with same clientid to networks of brokers

surfnerd
That would really useful feature for NB.
Can you create JIRA for the same ?
Reply | Threaded
Open this post in threaded view
|

Re: Concurrent connections with same clientid to networks of brokers

paddycarman
Done: https://issues.apache.org/jira/browse/AMQ-5210



On Wed, Jun 4, 2014 at 5:54 AM, surfnerd <[hidden email]> wrote:

> That would really useful feature for NB.
> Can you create JIRA for the same ?
>
>
>
> --
> View this message in context:
> http://activemq.2283324.n4.nabble.com/Concurrent-connections-with-same-clientid-to-networks-of-brokers-tp4681621p4681647.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>