Continuous queue errors on WebLogic Server
The WebLogic Server queue has a redelivery delay property that can control how messages in error are reprocessed. The redelivery delay property represents the time between when the message reports an error and when the message is reprocessed.
You cannot view the message in the queue for the amount of time you specified in the redelivery delay property. The redelivery delay improves system performance. Messages other than messages in error can be processed for the amount of time that is defined in the redelivery delay property. The processing delay applies to the message and not to the thread that processes the message.
If you set the batch size property to -1 (unlimited), and the redelivery delay property to 30 seconds (30,000 milliseconds), new messages can be processed in the queue. Processing continues even when a large number of errors are being reprocessed.
The same connection factory is used for both the sequential and continuous queues. To avoid sequential consumer processing issues, set the redelivery delay value in the destination queue configuration. Do not set the connection factory level configuration.
If the number of times that a message in error is processed exceeds the configured try count, the message stops processing and is redirected for error management.
Alternatively you can implement an error queue. To implement an error queue, you must uncomment entries for the error queue in the ejb-jar.xml and weblogic-ejb-jar.xml files.