How can I read items from multiples databases? I already know that is possible from files.
the following example works for read from multiples files
...
I suggest a simple workaround that may not be suitable to all cases, but will be useful in many:
Simply define:
The 2 steps are nearly identical, they reference the same processor and writer, but they have different readers. They will be called consecutively.
Whether this setup works will depend on the processor and writer (whether they still work correctly when called in different steps). In my case, it was sufficient to set appendAllowed=true to the writer, such that both steps can write to the same file.