I am consuming JMS message in my application (NOT deployed in an application Server).
However as a step forward to the current application, we need to add in some delay in between 2 messages which are read from Queue. For eg. normal flow is as follows
1. Read a message from Queue.
2. Process the message
3. Ack the JMS Queue
4. Again Read the message.
Now after step 3 and before step 4, I need to wait for some time.
Now is there any property in JMS which can do this?
As I mentioned in my previous post, it does not form part of the JMS api. You will have to look at the documentation for the JMS provider you use.
In weblogic for example, you can set it programmatically