fixed bug in test case

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@360135 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
James Strachan 2005-12-30 18:36:29 +00:00
parent de7f650b16
commit 1f3f80cf77
1 changed files with 2 additions and 1 deletions

View File

@ -47,6 +47,7 @@ public class IndividualDeadLetterTest extends DeadLetterTest {
}
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());
}
}