How to set parameters on Groovy/Grails InvokeHelper.invokeMethod()
问题 I have a Grails webapp running a Spring Integration inbound-channel-adapter that is configured to receive emails and there is a service activator that processes the message. This service activator pulls out pieces and parts of the email based on business rules and then needs to update Grails domain objects and save those changes to the database. Spring Integration service activator code snippet: HashMap<String, Serializable> params = new HashMap<String, Serializable>(); params.put(