jeanouii commented on code in PR #1710:
URL: https://github.com/apache/activemq/pull/1710#discussion_r2841801245
##########
activemq-broker/src/main/java/org/apache/activemq/broker/BrokerService.java:
##########
@@ -2624,6 +2624,12 @@ public ConnectionContext getAdminConnectionContext()
throws Exception {
protected void startManagementContext() throws Exception {
getManagementContext().setBrokerName(brokerName);
+ // Reuse the broker-level SSL context for JMX by default
+ // This avoids duplicating SSL config in activemq.xml while still
allowing an
+ // explicit managementContext sslContext to override when one is needed
+ if (getManagementContext().getSslContext() == null && getSslContext()
!= null) {
Review Comment:
@mattrpav right this was the option I used in my PR #1661
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact