Hi
You can use the option sendEmptyMessageWhenIdle and then detect the
empty message in the route, and then stop the app.
It has been discussed on this mailing list before, can you google a
bit. There should be recent talks about this from this year as well.
There is several solutions for this.
I have a file consumer that uploads files to a server. It acts like a
batch consumer, and uploads all the files an exits.
That part is perfect.
The only problem I have is that if it gets run and there are NO files,
it doesn't exit.
I'm guessing there is an option that I'm missing.
This is my so