activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jstrac...@apache.org
Subject svn commit: r360135 - /incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/policy/IndividualDeadLetterTest.java
Date Fri, 30 Dec 2005 18:36:31 GMT
Author: jstrachan
Date: Fri Dec 30 10:36:29 2005
New Revision: 360135

URL: http://svn.apache.org/viewcvs?rev=360135&view=rev
Log:
fixed bug in test case

Modified:
    incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/policy/IndividualDeadLetterTest.java

Modified: incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/policy/IndividualDeadLetterTest.java
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/policy/IndividualDeadLetterTest.java?rev=360135&r1=360134&r2=360135&view=diff
==============================================================================
--- incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/policy/IndividualDeadLetterTest.java
(original)
+++ incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/policy/IndividualDeadLetterTest.java
Fri Dec 30 10:36:29 2005
@@ -47,6 +47,7 @@
     }
 
     protected Destination createDlqDestination() {
-        return new ActiveMQQueue("ActiveMQ.DLQ.Queue." + getClass().getName() + "." + getName());
+        String prefix = (topic) ? "ActiveMQ.DLQ.Topic.": "ActiveMQ.DLQ.Queue.";
+        return new ActiveMQQueue(prefix + getClass().getName() + "." + getName());
     }
 }



Mime
View raw message