Hello guys.. please forgive me for this very basic question.
I have created a servlet that apparently sends messages to a queue that I have configured in the jbossmq-destinations-service.xml. How do I check if my servlet has indeed sent a message to the queue..? One of my friends uses jetty and he can check the depth of the queue, but I do not know how to do it because I am using tomcat. So, is there anyway to do it?
You can create a QueueBrowser with "QueueSession.createQueueBrowser( Queue )". With this queue browser you can peek on the queue to see what messages are available.
Have fun - Andy