From a general Computer Science perspective - when we think of a Queue in a logical sense - we think of being able to 'peek' the first item in the queue.
When I look at the JMS API - it has a MessageListener
- which has an OnMessage()
method. This feels a little bit like "don't call us- we'll call you."
Does JMS have a concept of a queue peek?