diff --git a/src/docbkx/jmx.xml b/src/docbkx/jmx.xml index 26ba8abbef..cf1677e1cb 100644 --- a/src/docbkx/jmx.xml +++ b/src/docbkx/jmx.xml @@ -106,8 +106,8 @@ any managed operation exposed by an MBean. Each invocation requires the operation name to be invoked and the ObjectName of the target MBean. Both of these must be explicitly provided via adapter configuration: + object-name="example.domain:name=TestBean" + operation-name="ping"/> ]]> Then the adapter only needs to be able to discover the "mbeanServer" bean. If a different bean name is required, then provide the "mbean-server" attribute @@ -135,8 +135,8 @@ Such return value will be sent as message payload to the 'reply-channel' specified by this Gateway. + object-name="org.springframework.integration.jmx.config:type=TestBean,name=testBeanGateway" + operation-name="testWithReturn"/> ]]> Another way of provideing the 'reply-channel' is by setting MessageHeaders.REPLY_CHANNEL Message Header