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