THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Wiki Markup |
---|
{snippet:id=xmlText|lang=xml|url=http://cvssvn.servicemix.codehaus.org/*checkout*/branches/servicemix-1.1/base/src/test/resources/org/servicemix/client/example.xml?rev=HEAD} |
As you can see the component is configured with a piece of Groovy to execute when the service is invoked. (BTW if you wanna see this script in action try the test case and XML config file.
Now we'll go through the various options which are available when working with JBI and Groovy in ServiceMix
...
Wiki Markup |
---|
{snippet:id=groovy|lang=xml|url=http://cvssvn.servicemix.codehaus.org/*checkout*/branches/servicemix-1.1/base/src/test/resources/org/servicemix/components/cache/example.xml?rev=HEAD} |
Working with JBI properties
...