-
Nov 17th, 2012, 12:36 PM
#1
Groovy Bean as Splitter
Hello,
My question seems similar to the one asked about the Router, but I cannot seem to get that proposed solution to work.
In my case, I'd like to use a Groovy bean as a Splitter. I've tried a number of configuration permutations along the lines of:
<!-- split method never called -->
<int:splitter input-channel="channel1" output-channel="channel2">
<lang:groovy id="fileSplitter" script-source="gov/noaa/ngdc/multibeam/MultibeamSplitter.groovy" />
</int:splitter>
or
<!-- FileNotFoundException -->
<int:splitter input-channel="channel1" output-channel="channel2" ref="fileSplitter" />
<lang:groovy id="fileSplitter" script-source="gov/noaa/ngdc/multibeam/MultibeamSplitter.groovy" />
Can someone please clarify for me or suggest an alternative approach?
Thanks!
--john
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules