Hi, by restart, you mean not a clean client restart right ? It seems your client doesn't disconnect cleanly.
Regards JB On Tue, Mar 29, 2022 at 6:11 PM KR, Pavan <[email protected]> wrote: > > Hi, > > > > ActiveMQ version - 5.16.3 > > We are using a client which connects to ActiveMQ over SSL. If the client > restarts, we are getting below exception > > ERROR | Exception in main > javax.jms.InvalidClientIDException: Broker: localhost - Client: > MdmEventsExtractor already connected from tcp://x.x.x.x:53163 > > > > So we tried configuring "allowLinkStealing" for SSL connector, so that when > client restarts and tries to connect with the same client id, it should be > able to connect. > The activemq.xml is attached. With this configuration we are still getting > javax.jms.InvalidClientIDException. > > I can see below log in ActiveMQ startup logs. > INFO | Listening for connections at: > ssl://active-mq-activemq-postgres-666ddbbcd4-fxdsw:61714?allowLinkStealing=true&transport.enabledProtocols=TLSv1.2 > > INFO | Connector ssl started > > INFO | Apache ActiveMQ 5.16.3 (master, > ID:active-mq-activemq-postgres-666ddbbcd4-fxdsw-32859-1648553350998-0:1) > started > > > > Can you please suggest if there anything wrong with the configuration? > > > > Regards, > > Pavan > > > Internal Use - Confidential
