Project: springxd
Issue XD-2506: "script" processor options incorrect on docs
The EXAMPLE in the documentation (and the paragraph preceding the example) for the "script" processor uses both "location" and "properties-location" options, but these are in actuality "script" and "locationProperties" according to "module info processor:script" and the text of the documentation. See: http://docs.spring.io/spring-xd/docs/1.0.2.RELEASE/reference/html/#script {quote}To use the module, pass the location of a Groovy script using the location attribute. If you want to pass variable values to your script, you can optionally pass the path to a properties file using the properties-location attribute. All properties in the file will be made available to the script as variables. {code}xd:> stream create --name groovyprocessortest --definition "http --port=9006 | script --location=custom-processor.groovy --properties-location=custom-processor.properties | log" --deploy{code} {quote}
Story points: 1