The DLQ is used when the message is
delivered too many times (in your case twice).
The time to live, is the length of time
the message can be retrieved from the DLQ.
Movement from the DLQ back to the main queue
is not automatic.
and what measurement has time to live?
days, hours, ..., ms?
Milli-seconds, it uses the JMS queuesender api.