I’m using Axon framework 3.3.6 with Spring Boot 1.5.18, and I have a distributed command bus with JGroups.
Now I’m trying to expose JGroups channel via JMX but can’t find an elegant way. The only way that I’ve found is to somehow set a registerMBean property on JGroupsConnectorFactoryBean instance.
Unfortunately, I can not found an easy way.
I’m either missing exposed property on DistributedCommandBusProperties.JGroupsProperties or easy access to created JGroups channel. I would prefer the second options since it offers more
possibilities about the timing and configuration of JMX registration.
I even quickly glanced over the latest Axon code on Github, but it looks like that situation is the same.
Please advise. Am I missing something?