Hi Umesh, the management API[1] is based on the managed resources located in the org.apache.activemq.artemis.api.core.management package and they are named with the word Control at the end, i.e. to prepare a message to invoke the reload operation defined in AcceptorControl[2] on the acceptor with the name `my-acceptor` you can use the following code:
JMSManagementHelper.putOperationInvocation(m, ResourceNames.ACCEPTOR + "my-acceptor", "reload"); For a complete example see the Management Example[3]. [1] https://activemq.apache.org/components/artemis/documentation/latest/management.html#the-management-api [2] https://github.com/apache/activemq-artemis/blob/2.28.0/artemis-core-client/src/main/java/org/apache/activemq/artemis/api/core/management/AcceptorControl.java [3] https://github.com/apache/activemq-artemis/tree/main/examples/features/standard/management Regards, Domenico On Fri, 19 May 2023 at 06:47, Umesh Kudale <ukud...@egain.com.invalid> wrote: > Thanks Domenico. I would like to go with management queue approach. > However I couldn't find any documentation regarding all the type of > messages supported on this queue. Could you please help with that? (I need > a message required to reload SSLContext/SSL keystore) > > -Umesh. > > -----Original Message----- > From: Domenico Francesco Bruscino <bruscin...@gmail.com> > Sent: Thursday, May 18, 2023 1:31 PM > To: users@activemq.apache.org > Subject: EXTERNAL- Re: ActiveMQ Artemis: Reload SSL keystore without > restarting broker > > > CAUTION: This email originated from outside eGain. Do not click links or > open attachments unless you can verify the sender and know the content is > safe. > > > Hi Umesh, > > you can access Apache ActiveMQ Artemis management API[1] using jolokia or > messages even if the JMX is disabled. For further details using messages > see the Management Example[2]. > > [1] > > https://activemq.apache.org/components/artemis/documentation/latest/management.html > [2] > > https://github.com/apache/activemq-artemis/tree/main/examples/features/standard/management > > Regards, > Domenico > > On Thu, 18 May 2023 at 07:58, Umesh Kudale <ukud...@egain.com.invalid> > wrote: > > > Hi, > > > > As per SO post > > https://stackoverflow.com/questions/69130272/apache-activemq-artemis-2 > > -18-server-does-not-reload-the-updated-keystore-with-ce, > > it seems like Artemis is not reloading SSL keystore while making a new > > connection. Rather we need to do it through JMX whenever we want to > > reload the keystore. However, due to security compliance, we disable JMX > console. > > Is there any other way/configuration we can do on broker side to > > enable reloading SSL keystore at certain interval? > > > > Thanks, > > Umesh. > > >