You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
JIRA: https://jira.spring.io/browse/INT-4573
* Fix check order for headers first in the `resolveObjectName()` and
`resolveOperationName()`.
Then fallback to defaults configured on the `OperationInvokingMessageHandler`
* Remove also a deprecated API in the `OperationInvokingMessageHandler`
* Remove requirements for `object-name` and `operation-name` XML
attributes since those options can be provided in the request message
headers
* Fix `OperationInvokingChannelAdapterParserTests` for proper headers
resolution
* Mention `JmxHeaders.OBJECT_NAME` and `JmxHeaders.OPERATION_NAME`
headers in the `jmx.adoc`
Copy file name to clipboardExpand all lines: spring-integration-jmx/src/main/java/org/springframework/integration/jmx/OperationInvokingMessageHandler.java
Copy file name to clipboardExpand all lines: spring-integration-jmx/src/main/resources/org/springframework/integration/jmx/config/spring-integration-jmx-5.2.xsd
Copy file name to clipboardExpand all lines: spring-integration-jmx/src/test/java/org/springframework/integration/jmx/config/OperationInvokingChannelAdapterParserTests-context.xml
Copy file name to clipboardExpand all lines: spring-integration-jmx/src/test/java/org/springframework/integration/jmx/config/OperationInvokingChannelAdapterParserTests.java
Copy file name to clipboardExpand all lines: src/reference/asciidoc/jmx.adoc
+1-1
Original file line number
Diff line number
Diff line change
@@ -184,7 +184,7 @@ You can also implement your own filter.
184
184
185
185
The operation-invoking channel adapter enables message-driven invocation of any managed operation exposed by an MBean.
186
186
Each invocation requires the operation name to be invoked and the object name of the target MBean.
187
-
Both of these must be explicitly provided by adapter configuration, as the following example shows:
187
+
Both of these must be explicitly provided by adapter configuration or via `JmxHeaders.OBJECT_NAME` and `JmxHeaders.OPERATION_NAME` message headers, respectively:
0 commit comments