You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by "ヤ艾枫o.--" <11...@qq.com> on 2021/06/17 06:44:25 UTC

For all configurations of ActiveMQ 5. X, it will take effect only after the service is restarted?

Hi
When i use activemq,i hava to change some configuration,for example :add users, change transportConnector port.
Complete the above modification in the activmq. XML file.I have to restarted the broker and this change can effect.
Why in this way of design, It's troublesome to use this way,Can't you load the configuration file automatically, save the restart process?&nbsp;&nbsp;

回复: For all configurations of ActiveMQ 5. X, it will take effect only after the service is restarted?

Posted by "ヤ艾枫o.--" <11...@qq.com.INVALID>.
ok




------------------&nbsp;原始邮件&nbsp;------------------
发件人:                                                                                                                        "users"                                                                                    <tbain@alumni.duke.edu&gt;;
发送时间:&nbsp;2021年6月17日(星期四) 晚上7:38
收件人:&nbsp;"ActiveMQ Users"<users@activemq.apache.org&gt;;

主题:&nbsp;Re: For all configurations of ActiveMQ 5. X, it will take effect only after the service is restarted?



At least some portions of the configuration can be reloaded without a
restart. https://activemq.apache.org/runtime-configuration has details
about what portions of the configuration support live configuration
reloading.

If there's something that isn't supported that you think should be, you can
propose that support for it be added by submitting an enhancement request
in JIRA.

Tim

On Thu, Jun 17, 2021, 12:44 AM ヤ艾枫o.-- <1169114186@qq.com&gt; wrote:

&gt; Hi
&gt; When i use activemq,i hava to change some configuration,for example :add
&gt; users, change transportConnector port.
&gt; Complete the above modification in the activmq. XML file.I have to
&gt; restarted the broker and this change can effect.
&gt; Why in this way of design, It's troublesome to use this way,Can't you load
&gt; the configuration file automatically, save the restart process?&amp;nbsp;&amp;nbsp;

Re: ActiveMQ5.15.9/zookeeper 3.5.9 After the cluster is created successfully, an exception occurs when the ActiveMQ component is restarted

Posted by Christopher Shannon <ch...@gmail.com>.
LevelDB has been long deprecated and is being removed from 5.17.0

https://activemq.apache.org/leveldb-store

On Mon, Jun 28, 2021 at 2:40 AM ヤ艾枫o.-- <11...@qq.com.invalid> wrote:

> Hi&nbsp;
> activemq.log is&nbsp;
> " Too many cluster members are connected. Expected at most 3 members but
> there arr 4 connected".
> I use three hosts, each with an ActiveMQ and zookeeper deployed。

ActiveMQ5.15.9/zookeeper 3.5.9 After the cluster is created successfully, an exception occurs when the ActiveMQ component is restarted

Posted by "ヤ艾枫o.--" <11...@qq.com.INVALID>.
Hi&nbsp;
activemq.log is&nbsp;
" Too many cluster members are connected. Expected at most 3 members but there arr 4 connected".
I use three hosts, each with an ActiveMQ and zookeeper deployed。

Re: For all configurations of ActiveMQ 5. X, it will take effect only after the service is restarted?

Posted by Tim Bain <tb...@alumni.duke.edu>.
It might be worth considering LDAP authentication rather than the simple
(file-based) authentication mechanism, since that would allow user changes
without restarting either ActiveMQ or your LDAP server. But of course then
you have to create and maintain an LDAP server, so you'll have to decide
whether that tradeoff is better or worse than having to restart ActiveMQ.

Tim

On Fri, Jun 18, 2021, 6:19 AM Jean-Baptiste Onofre <jb...@nanthrax.net> wrote:

> If you change (adding/removing a plugin) it works, but not if you change
> users.properties or group.properties (nothing is monitoring these files).
>
> Regards
> JB
>
> > Le 18 juin 2021 à 11:19, ヤ艾枫o.-- <11...@qq.com.INVALID> a écrit :
> >
> > As a result of&nbsp;this
> configuration(<plugins&gt;<jaasAuthenticationPlugin&gt;) is not support
> automatically reload the broker, change users.properties and
> group.propertie art not effect?
> >
> >
> >
> >
> > ------------------&nbsp;原始邮件&nbsp;------------------
> > 发件人:
>                                                     "users"
>                                                                    <
> jb@nanthrax.net <ma...@nanthrax.net>&gt;;
> > 发送时间:&nbsp;2021年6月18日(星期五) 中午11:27
> > 收件人:&nbsp;"users"<users@activemq.apache.org <mailto:
> users@activemq.apache.org>&gt;;
> >
> > 主题:&nbsp;Re: For all configurations of ActiveMQ 5. X, it will take
> effect only after the service is restarted?
> >
> >
> >
> > Hi,
> >
> > The runtime configuration plugin which automatically reload the broker
> only works with some configuration section:
> > - networkConnectors
> > - destinationPolicies
> > - plugins (including authorizationPlugin)
> > - destinationInterceptors
> >
> > users.properties and group.properties are not "monitored" by the runtime
> configuration plugin.
> > Actually, the login module is responsible to the loading/reloading
> (depending of the JAAS login module).
> >
> > Regards
> > JB
> >
> > &gt; Le 18 juin 2021 à 04:10, ヤ艾枫o.-- <1169114186@qq.com.INVALID&gt; a
> écrit :
> > &gt;
> > &gt; When I use jaas,I should to change activemq.xml
> (<plugins&amp;gt;<authorizationPlugin&amp;gt;<Map&amp;gt;<authorizationMQ&amp;gt;).
> > &gt; this change do not need to restart broker.
> > &gt; But, i hava to change user.properties and group.properties ,this
> change need to restart broker.
> > &gt; i want to know change user.properties and group.properties
> files&amp;nbsp;without restarting the broker
> > &gt;
> > &gt;
> > &gt;
> > &gt;
> > &gt; ------------------&amp;nbsp;原始邮件&amp;nbsp;------------------
> > &gt;
> 发件人:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
> "users"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
> <tbain@alumni.duke.edu&amp;gt;;
> > &gt; 发送时间:&amp;nbsp;2021年6月17日(星期四) 晚上7:38
> > &gt; 收件人:&amp;nbsp;"ActiveMQ Users"<users@activemq.apache.org&amp;gt;;
> > &gt;
> > &gt; 主题:&amp;nbsp;Re: For all configurations of ActiveMQ 5. X, it will
> take effect only after the service is restarted?
> > &gt;
> > &gt;
> > &gt;
> > &gt; At least some portions of the configuration can be reloaded without
> a
> > &gt; restart. https://activemq.apache.org/runtime-configuration <
> https://activemq.apache.org/runtime-configuration> has details
> > &gt; about what portions of the configuration support live configuration
> > &gt; reloading.
> > &gt;
> > &gt; If there's something that isn't supported that you think should be,
> you can
> > &gt; propose that support for it be added by submitting an enhancement
> request
> > &gt; in JIRA.
> > &gt;
> > &gt; Tim
> > &gt;
> > &gt; On Thu, Jun 17, 2021, 12:44 AM ヤ艾枫o.-- <1169114186@qq.com <mailto:
> 1169114186@qq.com>&amp;gt; wrote:
> > &gt;
> > &gt; &amp;gt; Hi
> > &gt; &amp;gt; When i use activemq,i hava to change some
> configuration,for example :add
> > &gt; &amp;gt; users, change transportConnector port.
> > &gt; &amp;gt; Complete the above modification in the activmq. XML file.I
> have to
> > &gt; &amp;gt; restarted the broker and this change can effect.
> > &gt; &amp;gt; Why in this way of design, It's troublesome to use this
> way,Can't you load
> > &gt; &amp;gt; the configuration file automatically, save the restart
> process?&amp;amp;nbsp;&amp;amp;nbsp;
>
>

Re: For all configurations of ActiveMQ 5. X, it will take effect only after the service is restarted?

Posted by Jean-Baptiste Onofre <jb...@nanthrax.net>.
If you change (adding/removing a plugin) it works, but not if you change users.properties or group.properties (nothing is monitoring these files).

Regards
JB

> Le 18 juin 2021 à 11:19, ヤ艾枫o.-- <11...@qq.com.INVALID> a écrit :
> 
> As a result of&nbsp;this configuration(<plugins&gt;<jaasAuthenticationPlugin&gt;) is not support automatically reload the broker, change users.properties and group.propertie art not effect?
> 
> 
> 
> 
> ------------------&nbsp;原始邮件&nbsp;------------------
> 发件人:                                                                                                                        "users"                                                                                   <jb@nanthrax.net <ma...@nanthrax.net>&gt;;
> 发送时间:&nbsp;2021年6月18日(星期五) 中午11:27
> 收件人:&nbsp;"users"<users@activemq.apache.org <ma...@activemq.apache.org>&gt;;
> 
> 主题:&nbsp;Re: For all configurations of ActiveMQ 5. X, it will take effect only after the service is restarted?
> 
> 
> 
> Hi,
> 
> The runtime configuration plugin which automatically reload the broker only works with some configuration section:
> - networkConnectors
> - destinationPolicies
> - plugins (including authorizationPlugin)
> - destinationInterceptors
> 
> users.properties and group.properties are not "monitored" by the runtime configuration plugin.
> Actually, the login module is responsible to the loading/reloading (depending of the JAAS login module).
> 
> Regards
> JB
> 
> &gt; Le 18 juin 2021 à 04:10, ヤ艾枫o.-- <1169114186@qq.com.INVALID&gt; a écrit :
> &gt; 
> &gt; When I use jaas,I should to change activemq.xml (<plugins&amp;gt;<authorizationPlugin&amp;gt;<Map&amp;gt;<authorizationMQ&amp;gt;).
> &gt; this change do not need to restart broker.
> &gt; But, i hava to change user.properties and group.properties ,this change need to restart broker.
> &gt; i want to know change user.properties and group.properties files&amp;nbsp;without restarting the broker
> &gt; 
> &gt; 
> &gt; 
> &gt; 
> &gt; ------------------&amp;nbsp;原始邮件&amp;nbsp;------------------
> &gt; 发件人:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "users"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <tbain@alumni.duke.edu&amp;gt;;
> &gt; 发送时间:&amp;nbsp;2021年6月17日(星期四) 晚上7:38
> &gt; 收件人:&amp;nbsp;"ActiveMQ Users"<users@activemq.apache.org&amp;gt;;
> &gt; 
> &gt; 主题:&amp;nbsp;Re: For all configurations of ActiveMQ 5. X, it will take effect only after the service is restarted?
> &gt; 
> &gt; 
> &gt; 
> &gt; At least some portions of the configuration can be reloaded without a
> &gt; restart. https://activemq.apache.org/runtime-configuration <https://activemq.apache.org/runtime-configuration> has details
> &gt; about what portions of the configuration support live configuration
> &gt; reloading.
> &gt; 
> &gt; If there's something that isn't supported that you think should be, you can
> &gt; propose that support for it be added by submitting an enhancement request
> &gt; in JIRA.
> &gt; 
> &gt; Tim
> &gt; 
> &gt; On Thu, Jun 17, 2021, 12:44 AM ヤ艾枫o.-- <1169114186@qq.com <ma...@qq.com>&amp;gt; wrote:
> &gt; 
> &gt; &amp;gt; Hi
> &gt; &amp;gt; When i use activemq,i hava to change some configuration,for example :add
> &gt; &amp;gt; users, change transportConnector port.
> &gt; &amp;gt; Complete the above modification in the activmq. XML file.I have to
> &gt; &amp;gt; restarted the broker and this change can effect.
> &gt; &amp;gt; Why in this way of design, It's troublesome to use this way,Can't you load
> &gt; &amp;gt; the configuration file automatically, save the restart process?&amp;amp;nbsp;&amp;amp;nbsp;


回复: For all configurations of ActiveMQ 5. X, it will take effect only after the service is restarted?

Posted by "ヤ艾枫o.--" <11...@qq.com.INVALID>.
As a result of&nbsp;this configuration(<plugins&gt;<jaasAuthenticationPlugin&gt;) is not support automatically reload the broker, change users.properties and group.propertie art not effect?




------------------&nbsp;原始邮件&nbsp;------------------
发件人:                                                                                                                        "users"                                                                                    <jb@nanthrax.net&gt;;
发送时间:&nbsp;2021年6月18日(星期五) 中午11:27
收件人:&nbsp;"users"<users@activemq.apache.org&gt;;

主题:&nbsp;Re: For all configurations of ActiveMQ 5. X, it will take effect only after the service is restarted?



Hi,

The runtime configuration plugin which automatically reload the broker only works with some configuration section:
- networkConnectors
- destinationPolicies
- plugins (including authorizationPlugin)
- destinationInterceptors

users.properties and group.properties are not "monitored" by the runtime configuration plugin.
Actually, the login module is responsible to the loading/reloading (depending of the JAAS login module).

Regards
JB

&gt; Le 18 juin 2021 à 04:10, ヤ艾枫o.-- <1169114186@qq.com.INVALID&gt; a écrit :
&gt; 
&gt; When I use jaas,I should to change activemq.xml (<plugins&amp;gt;<authorizationPlugin&amp;gt;<Map&amp;gt;<authorizationMQ&amp;gt;).
&gt; this change do not need to restart broker.
&gt; But, i hava to change user.properties and group.properties ,this change need to restart broker.
&gt; i want to know change user.properties and group.properties files&amp;nbsp;without restarting the broker
&gt; 
&gt; 
&gt; 
&gt; 
&gt; ------------------&amp;nbsp;原始邮件&amp;nbsp;------------------
&gt; 发件人:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "users"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <tbain@alumni.duke.edu&amp;gt;;
&gt; 发送时间:&amp;nbsp;2021年6月17日(星期四) 晚上7:38
&gt; 收件人:&amp;nbsp;"ActiveMQ Users"<users@activemq.apache.org&amp;gt;;
&gt; 
&gt; 主题:&amp;nbsp;Re: For all configurations of ActiveMQ 5. X, it will take effect only after the service is restarted?
&gt; 
&gt; 
&gt; 
&gt; At least some portions of the configuration can be reloaded without a
&gt; restart. https://activemq.apache.org/runtime-configuration has details
&gt; about what portions of the configuration support live configuration
&gt; reloading.
&gt; 
&gt; If there's something that isn't supported that you think should be, you can
&gt; propose that support for it be added by submitting an enhancement request
&gt; in JIRA.
&gt; 
&gt; Tim
&gt; 
&gt; On Thu, Jun 17, 2021, 12:44 AM ヤ艾枫o.-- <1169114186@qq.com&amp;gt; wrote:
&gt; 
&gt; &amp;gt; Hi
&gt; &amp;gt; When i use activemq,i hava to change some configuration,for example :add
&gt; &amp;gt; users, change transportConnector port.
&gt; &amp;gt; Complete the above modification in the activmq. XML file.I have to
&gt; &amp;gt; restarted the broker and this change can effect.
&gt; &amp;gt; Why in this way of design, It's troublesome to use this way,Can't you load
&gt; &amp;gt; the configuration file automatically, save the restart process?&amp;amp;nbsp;&amp;amp;nbsp;

Re: For all configurations of ActiveMQ 5. X, it will take effect only after the service is restarted?

Posted by Jean-Baptiste Onofre <jb...@nanthrax.net>.
Hi,

The runtime configuration plugin which automatically reload the broker only works with some configuration section:
- networkConnectors
- destinationPolicies
- plugins (including authorizationPlugin)
- destinationInterceptors

users.properties and group.properties are not "monitored" by the runtime configuration plugin.
Actually, the login module is responsible to the loading/reloading (depending of the JAAS login module).

Regards
JB

> Le 18 juin 2021 à 04:10, ヤ艾枫o.-- <11...@qq.com.INVALID> a écrit :
> 
> When I use jaas,I should to change activemq.xml (<plugins&gt;<authorizationPlugin&gt;<Map&gt;<authorizationMQ&gt;).
> this change do not need to restart broker.
> But, i hava to change user.properties and group.properties ,this change need to restart broker.
> i want to know change user.properties and group.properties files&nbsp;without restarting the broker
> 
> 
> 
> 
> ------------------&nbsp;原始邮件&nbsp;------------------
> 发件人:                                                                                                                        "users"                                                                                    <tbain@alumni.duke.edu&gt;;
> 发送时间:&nbsp;2021年6月17日(星期四) 晚上7:38
> 收件人:&nbsp;"ActiveMQ Users"<users@activemq.apache.org&gt;;
> 
> 主题:&nbsp;Re: For all configurations of ActiveMQ 5. X, it will take effect only after the service is restarted?
> 
> 
> 
> At least some portions of the configuration can be reloaded without a
> restart. https://activemq.apache.org/runtime-configuration has details
> about what portions of the configuration support live configuration
> reloading.
> 
> If there's something that isn't supported that you think should be, you can
> propose that support for it be added by submitting an enhancement request
> in JIRA.
> 
> Tim
> 
> On Thu, Jun 17, 2021, 12:44 AM ヤ艾枫o.-- <1169114186@qq.com&gt; wrote:
> 
> &gt; Hi
> &gt; When i use activemq,i hava to change some configuration,for example :add
> &gt; users, change transportConnector port.
> &gt; Complete the above modification in the activmq. XML file.I have to
> &gt; restarted the broker and this change can effect.
> &gt; Why in this way of design, It's troublesome to use this way,Can't you load
> &gt; the configuration file automatically, save the restart process?&amp;nbsp;&amp;nbsp;


回复: For all configurations of ActiveMQ 5. X, it will take effect only after the service is restarted?

Posted by "ヤ艾枫o.--" <11...@qq.com.INVALID>.
When I use jaas,I should to change activemq.xml (<plugins&gt;<authorizationPlugin&gt;<Map&gt;<authorizationMQ&gt;).
this change do not need to restart broker.
But, i hava to change user.properties and group.properties ,this change need to restart broker.
i want to know change user.properties and group.properties files&nbsp;without restarting the broker




------------------&nbsp;原始邮件&nbsp;------------------
发件人:                                                                                                                        "users"                                                                                    <tbain@alumni.duke.edu&gt;;
发送时间:&nbsp;2021年6月17日(星期四) 晚上7:38
收件人:&nbsp;"ActiveMQ Users"<users@activemq.apache.org&gt;;

主题:&nbsp;Re: For all configurations of ActiveMQ 5. X, it will take effect only after the service is restarted?



At least some portions of the configuration can be reloaded without a
restart. https://activemq.apache.org/runtime-configuration has details
about what portions of the configuration support live configuration
reloading.

If there's something that isn't supported that you think should be, you can
propose that support for it be added by submitting an enhancement request
in JIRA.

Tim

On Thu, Jun 17, 2021, 12:44 AM ヤ艾枫o.-- <1169114186@qq.com&gt; wrote:

&gt; Hi
&gt; When i use activemq,i hava to change some configuration,for example :add
&gt; users, change transportConnector port.
&gt; Complete the above modification in the activmq. XML file.I have to
&gt; restarted the broker and this change can effect.
&gt; Why in this way of design, It's troublesome to use this way,Can't you load
&gt; the configuration file automatically, save the restart process?&amp;nbsp;&amp;nbsp;

Re: For all configurations of ActiveMQ 5. X, it will take effect only after the service is restarted?

Posted by Tim Bain <tb...@alumni.duke.edu>.
At least some portions of the configuration can be reloaded without a
restart. https://activemq.apache.org/runtime-configuration has details
about what portions of the configuration support live configuration
reloading.

If there's something that isn't supported that you think should be, you can
propose that support for it be added by submitting an enhancement request
in JIRA.

Tim

On Thu, Jun 17, 2021, 12:44 AM ヤ艾枫o.-- <11...@qq.com> wrote:

> Hi
> When i use activemq,i hava to change some configuration,for example :add
> users, change transportConnector port.
> Complete the above modification in the activmq. XML file.I have to
> restarted the broker and this change can effect.
> Why in this way of design, It's troublesome to use this way,Can't you load
> the configuration file automatically, save the restart process?&nbsp;&nbsp;