In general, my application contains methods that take a number of parameters rather than using a single parameter object that encapsulates the required parameters. For example:
public DetailedOrderInfo getDetailedOrderInfo(Param1 param1, Param2 param2, Param3 param3) {...}
Looking at the javadoc for MethodParameterMessageMapper, it looks like this class might help me avoid manually creating a message and sending it on a given channel within my method body.
Is there an example of using the MethodParameterMessageMapper available?


Reply With Quote