[esb-issues] [JBoss JIRA] Commented: (JBESB-1087) groovy gateway & data injection
Mark Little (JIRA)
jira-events at lists.jboss.org
Wed Sep 26 04:58:41 EDT 2007
[ http://jira.jboss.com/jira/browse/JBESB-1087?page=comments#action_12378722 ]
Mark Little commented on JBESB-1087:
------------------------------------
Using the default IS A VERY BAD IDEA. The documentation mentions this a lot: when chaining, the default can be over written and conflict between Actions. It shouldn't be used like this.
> 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
More information about the esb-issues
mailing list