Hi, im trying to do next thing. I have an String that is send into MessageBus, after some MessageEndpoints, i want that String content is copied inside two directories. I have used next configuration:
And then in Splitter i have next output channel:
<file-target id="logFile" directory="C:\\Temp" channel="outputFile"/>
<file-target id="log2file" directory="C:\\Temp2" channel="outputFile"/>
If only one file target is present, the example works perfectly, but when two file-targets are configured, only first file-target seems to work. Is it the expected behaviour? How can i make to write twice the same information?
@Splitter(channel = "outputFile")
Thank you very much.
PD: If you want i can upload the code.