activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jstrac...@apache.org
Subject svn commit: r689022 - /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/region/policy/SharedDeadLetterStrategy.java
Date Tue, 26 Aug 2008 10:32:43 GMT
Author: jstrachan
Date: Tue Aug 26 03:32:42 2008
New Revision: 689022

URL: http://svn.apache.org/viewvc?rev=689022&view=rev
Log:
added a handy constant for the default DLQ name

Modified:
    activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/region/policy/SharedDeadLetterStrategy.java

Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/region/policy/SharedDeadLetterStrategy.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/region/policy/SharedDeadLetterStrategy.java?rev=689022&r1=689021&r2=689022&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/region/policy/SharedDeadLetterStrategy.java
(original)
+++ activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/region/policy/SharedDeadLetterStrategy.java
Tue Aug 26 03:32:42 2008
@@ -30,7 +30,9 @@
  */
 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;



Mime
View raw message