Which JMS store to use? File store or database store?
Personally I would not use file store for this reason - if there is any corrupt message, the WHOLE store will become useless and you really need lots of help and efforts to recover (if possible) some messages.
Using database store I may still face the same problem - some corrupt messages, but each corrupt messages is one row in a table, removing some rows from a table should be eaiser than removing bytes from a file.
What is your take on this?