mirror of https://github.com/apache/activemq.git
added a handy constant for the default DLQ name
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@689022 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
323bb2309e
commit
8813f2b658
|
@ -30,7 +30,9 @@ import org.apache.activemq.command.ActiveMQQueue;
|
|||
*/
|
||||
public class SharedDeadLetterStrategy extends AbstractDeadLetterStrategy {
|
||||
|
||||
private ActiveMQDestination deadLetterQueue = new ActiveMQQueue("ActiveMQ.DLQ");
|
||||
public static final String DEFAULT_DEAD_LETTER_QUEUE_NAME = "ActiveMQ.DLQ";
|
||||
|
||||
private ActiveMQDestination deadLetterQueue = new ActiveMQQueue(DEFAULT_DEAD_LETTER_QUEUE_NAME);
|
||||
|
||||
public ActiveMQDestination getDeadLetterQueueFor(ActiveMQDestination originalDestination) {
|
||||
return deadLetterQueue;
|
||||
|
|
Loading…
Reference in New Issue