Added function to check if destination contains messages.
Added testing on openjdk7 and oracle jdk7
Added unconsumed messages (from queues) persistence layer