I have a problem in my application. When a messaged is being processed and before the response in sent if my server is shutdown, then on restart the message is processed again. I find this behaviour unique only to JBoss. In other application servers if the message is read once, it gets deleted fro queue, after some research I found that in JBoss case, only after a response is sent, it deletes the message from queue. I want to change this behaviour please help me out.