On 3/17/23 10:10, Modanese, Riccardo wrote:
Hello,
the prhttps://issues.apache.org/jira/browse/ARTEMIS-3702 introduced a
parameter to allow the user to configure the broker behavior when a publish
attempt on a not allowed (by ACL) topic is attempted (so if disconnect the
client or sending ack and ignore the message).
My question is how can I change the default configurations value:
https://github.com/apache/activemq-artemis/blob/68c5bed1596dafde4805ebfb4a4c5eda8b7959ea/artemis-protocols/artemis-mqtt-protocol/src/main/java/org/apache/activemq/artemis/core/protocol/mqtt/MQTTProtocolManager.java#L140
is there a connector parameter I can define in the broker.xml?
Regards,
Riccardo
The broker MQTT documentation spells this out for you, might be worth a
read:
https://activemq.apache.org/components/artemis/documentation/
Option on acceptor is documented:
|<acceptor
name="mqtt">tcp://0.0.0:1883?protocols=MQTT;closeMqttConnectionOnPublishAuthorizationFailure=false</acceptor>|
--
Tim Bish