Details
-
New Feature
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
Unknown
Description
We should have a script in the DSL
<route> ... <script> <groovy>some groovy stuff here</groovy> </script> ... </script>
The script is then invoked and allows noop to avoid changing the message body.
Currently you can only do
<transform> <groovy> ... </groovy> </transform>
... and that may change the message body with the return value from groovy.
With <script> you can avoid this.