-
Bug
-
Resolution: Done
-
Undefined
-
None
-
AMQ 7.12.0.GA
A custom plugin without parameters, defined in:
apiVersion: broker.amq.io/v1beta1
kind: ActiveMQArtemis
metadata:
name: broker
spec:
deploymentPlan:
size: 1
persistenceEnabled: true
managementRBACEnabled: true
image: placeholder
extraMounts:
secrets:
- "myplugin"
- "newlog4j-logging-config"
brokerProperties:
- brokerPlugins.\"org.apache.activemq.artemis.plugin.message.NOOP.class\".init=
console:
expose: true
acceptors:
- name: my
expose: false
port: 61617
protocols: 'amqp,core,openwire'
supportAdvisory: false
suppressInternalManagementObjects: false
env:
- name: ARTEMIS_EXTRA_LIBS
value: /amq/extra/secrets/myplugin
Results in the following message via `oc describe ActiveMQArtemis`:
Message: some properties from broker-props resulted in error on pod broker-ss-0 : reasons: map[broker.properties:[{"value":"brokerPlugins.\"org.apache.activemq.artemis.plugin.message.NOOP.class\".init=","reason":"java.lang.IllegalArgumentException: map value not in k=v format"}]]
In this case, I did not observe loss of functionality in the plugin.