@Target(value=TYPE) @Retention(value=RUNTIME) @Documented @Import(value=IntegrationMBeanExportConfiguration.class) public @interface EnableIntegrationMBeanExport
@ManagedResource annotated beans.
The resulting IntegrationMBeanExporter
bean is defined under the name integrationMbeanExporter. Alternatively, consider defining a
custom IntegrationMBeanExporter bean explicitly.
This annotation is modeled after and functionally equivalent to Spring Integration XML's
<int-jmx:mbean-export/> element.
| Modifier and Type | Optional Element and Description |
|---|---|
String |
defaultDomain
The default domain to use when generating JMX ObjectNames.
|
String[] |
managedComponents
A list of simple patterns for component names to register (defaults to '*').
|
RegistrationPolicy |
registration
The policy to use when attempting to register an MBean under an
ObjectName that already exists. |
String |
server
The bean name of the MBeanServer to which MBeans should be exported.
|
public abstract String defaultDomain
${project.domain}).public abstract String server
${project.mbeanServer})
and SpEL expression (e.g. #{mbeanServer}).public abstract RegistrationPolicy registration
ObjectName that already exists. Defaults to
RegistrationPolicy.FAIL_ON_EXISTING.public abstract String[] managedComponents
$ managed.components}). Can be applied for each element.