[
http://jira.jboss.com/jira/browse/JBESB-1087?page=all ]
Mark Little closed JBESB-1087.
------------------------------
Fix Version/s: 4.2.1 IR2
Resolution: Done
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
Fix For: 4.2.1 IR2
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