Exporting as an MBean
Finally, let's add code to export the components used as MBeans, which can be monitored through JConsole or other JMX tools:
<int-jmx:mbean-export default-domain="com.cpandey.siexample" server="mbeanServer"/>
Get Spring Integration Essentials now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.