groovy gateway & data injection
-------------------------------
Key: JBESB-1087
URL:
http://jira.jboss.com/jira/browse/JBESB-1087
Project: JBoss ESB
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Transports
Affects Versions: 4.2
Reporter: Burr Sutter
Assigned To: Mark Little
Priority: Minor
The groovy gateway:
<groovy-listener name="groovy-client"
script="MessageInjectionConsole" is-gateway="true" />
drops its message content into the "after" location therefore you must use:
String content = (String) ActionUtils.getTaskObject(message);
to fetch it out in your custom action. This is inconsistent with the rest of the gateways
which are moving to using:
content = (String) message.getBody().get();
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira