fix groovy.xml for simple example
---------------------------------

                 Key: SMX4-260
                 URL: https://issues.apache.org/activemq/browse/SMX4-260
             Project: ServiceMix 4
          Issue Type: Bug
    Affects Versions: 4.0.0
            Reporter: Freeman Fang
            Assignee: Freeman Fang
             Fix For: 4.1.0
         Attachments: SMX4-260.patch

we need remove
{code}
           NormalizedMessage out = exchange.createMessage();
           out.setContent(new StringSource("<response>" + 
bindings.get("answerGroovy") + "</response>"));
           exchange.setMessage(out, "out");
           println exchange;
           println "Stopping JSR-223 groovy processor";
{code}
from the groovy script since the MessageExange sent from quartz endpoint is 
InOnly
and we need add disableOutput="true" for scripting:endpoint to avoid setting 
target for the scripting endpoint in the example

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to