blob: f428711c842c8dd99b8d394b663ef8e342e09f94 [file] [log] [blame]
h2. servicemix-scripting
h3. Overview
The ServiceMix Scripting component provides support for processing scripts using JSR-223 compliant scripting languages.
The component is currently shipping with:
* Groovy (1.5.6)
* JRuby (1.1.2)
* Rhino JavaScript (1.7R1)
h4. Namespace and xbean.xml
The namespace URI for the servicemix-bean JBI component is {{}}. This is an example of an {{xbean.xml}} file with a namespace definition with prefix {{bean}}.
<beans xmlns:scripting="">
<!-- add scripting:endpoint here -->
h4. Endpoint types
The servicemix-scripting component defines a single endpoint type:
- {{scripting:endpoint}} :: The scripting endpoint can be used to use scripts to handle exchanges or send new exchanges
h3. {{scripting:endpoint}}
h4. Endpoint properties