You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<1> The `group2` role is granted `send` permissions to all addresses (`#`).
43
-
<2> The `group1` role is granted `consume`, `createAddress`, `createNonDurableQueue`, and `browse` permissions to all addresses (`#`).
42
+
<1> The `group1` role is granted `send` permissions to all addresses (`#`).
43
+
<2> The `group2` role is granted `consume`, `createAddress`, `createNonDurableQueue`, and `browse` permissions to all addresses (`#`).
44
44
45
45
[NOTE]
46
46
In a Java properties file (which `brokerProperties` effectively translates into), a colon (`:`) is a reserved character used to separate a key and a value. If you need to grant permissions to a Fully Qualified Queue Name (FQQN) that contains a colon, ensure it is properly escaped or handled according to the broker's configuration parsing rules.
<1> Replace `my-broker-instance-instance-volume` with the actual volume name used by your broker deployment. This name typically follows the pattern `<BROKER_NAME>-instance-volume`. You can verify the exact volume name by inspecting an existing broker pod's YAML (`oc get pod <broker_pod_name> -o yaml`) and looking under `spec.volumes`.
# termination: passthrough # Important for TLS termination at the broker
158
+
brokerProperties:
159
+
- addressSettings."#".redeliveryDelay=1000
160
+
- addressSettings."#".maxDeliveryAttempts=3
180
161
----
181
162
* We've defined two acceptors (`amqp-secure` and `core-secure`) with `sslEnabled: true`.
182
163
* `sslSecret` points to `amq-broker-tls-secret`, the secret we created.
183
-
* `keyStorePath` and `keyStorePassword` reference the file and literal key within that secret.
184
164
* `enabledProtocols` explicitly sets `TLSv1.2` and `TLSv1.3` for stronger security.
185
165
186
166
.Apply the Custom Resource to deploy the broker:
@@ -207,7 +187,8 @@ Once the broker pod is running, check its logs to confirm that the secure listen
207
187
oc logs $(oc get pod -l activemq-artemis-name=amq-broker-secure-example -o jsonpath='{.items[0].metadata.name}') -n $(oc project -q) | grep "acceptor"
208
188
----
209
189
You should see log entries indicating that the secure acceptors are starting up on the specified ports (e.g., 5671 and 61617) with SSL enabled. Look for messages similar to:
210
-
`INFO [org.apache.activemq.artemis.core.server] AMQ221007: Server will be started. AMQP Acceptor 'amqp-secure' is listening on nio://0.0.0.0:5671 for protocols [AMQP] with SSL.`
190
+
`INFO [org.apache.activemq.artemis.core.server] AMQ221020: Started EPOLL Acceptor at amq-broker-secure-example-ss-0.amq-broker-secure-example-hdls-svc.broker.svc.cluster.local:5671 for protocols [AMQP]
0 commit comments