For posterity's sake... Yes. That is the relevant PR.
Justin On Thu, Mar 9, 2023 at 1:33 AM andrea bisogno <bisoma...@hotmail.it> wrote: > Hi Justin, > thanks for your quick reply. > Is the PR this one: https://github.com/apache/activemq-artemis/pull/4396 ? > Many thanks, > > Andrea > ________________________________ > Da: Justin Bertram <jbert...@apache.org> > Inviato: mercoledì 8 marzo 2023 20:32 > A: users@activemq.apache.org <users@activemq.apache.org> > Oggetto: Re: Artemis - MQTT ClientId & Stealing Link > > FYI - I've sent a PR for this. It should be available in the next release > (i.e. 2.29.0). > > > Justin > > On Wed, Mar 8, 2023 at 12:41 PM Justin Bertram <jbert...@apache.org> > wrote: > > > ActiveMQ Artemis doesn't support the ability to disable link stealing, > but > > it would be pretty easy to implement. I created ARTEMIS-4200 [1] to track > > this. > > > > > > Justin > > > > [1] > https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fissues.apache.org%2Fjira%2Fbrowse%2FARTEMIS-4200&data=05%7C01%7C%7Cfbf134e67ad44f6729c808db20145b94%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638139044022230701%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=5HZvzyE%2BOIwMp%2F8%2F5Wr5lSfmgri85bz%2Fhlo6orGvwCM%3D&reserved=0 > > > > On Wed, Mar 8, 2023, 10:07 AM andrea bisogno <bisoma...@hotmail.it> > wrote: > > > >> Hi, > >> I would need support for understanding if it is possible to avoid MQTT > >> stealing link issue with Artemis. > >> > >> I know with ActiveMQ it was possible to configure the broker to reject > an > >> MQTT connection in case another connection with the same clientId was > >> already open. In fact, it was possible to set to false the > >> ‘allowLinkStealing’ property on the mqtt trasport, as described at > >> > https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Factivemq.apache.org%2Fconfiguring-transports&data=05%7C01%7C%7Cfbf134e67ad44f6729c808db20145b94%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638139044022230701%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=SKOMilnQdQUM8Ry3DM373lBvfm3ShprNCokLc6DrPjk%3D&reserved=0 > . > >> > >> Unfortunately, I’m not able to find any documentation about the same > >> setting on Artemis ( > >> > https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Factivemq.apache.org%2Fcomponents%2Fartemis%2Fdocumentation%2Flatest%2F&data=05%7C01%7C%7Cfbf134e67ad44f6729c808db20145b94%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638139044022230701%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=0cNM36VdnCraMl60R2g%2B0iQX779thuRUSBbUJn8PFZ8%3D&reserved=0 > ). > >> I tried anyhow to configure the property but it doesn’t work. > >> > >> Can you help me to understand how can I configure an MQTT transport to > >> avoid a client connects to the broker if an MQTT connection with the > same > >> ClientID is already open? > >> > >> Many thanks in advance, > >> > >> > >> Andrea Bisogno > >> > > >