I have a Java system that receives messages over the network in a proprietary binary format which it needs to decode, process and do something with. The messages have an implied priority depending on their payload. I'd like to use the semantics of a priority-queue in the system with separate consumer threads reading the queue. The problem, is that once the system has accepted a message over the network, it must guarantee to handle it eventually, even if the system went down between receipt and processing. As such I'd like to back my priority-queue with persistence. I'm looking for light-weight ways to achieve this in Java inside a web container process as against using a fully blown ESB or similar.
Some additional info: we are in the Amazon cloud and JMS is not an option in our environment unfortunately. We could use SQS, but this doesn't support a priority concept and requires polling which is not really ideal.
Thanks
JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)