Commit 17ef7932 authored by afreyssin's avatar afreyssin

DMQs are now simple queues.

parent 49785aeb
......@@ -55,13 +55,15 @@ public class TestDmq6 extends TestCase {
for(int i = 0;i < list1.length; i++){
Destination dest = list1[i];
if(dest.getType().equals("queue")){
assertTrue( dest.isFreelyWriteable() );
assertTrue( dest.isFreelyReadable() );
if (dest.getAdminName().equals("queue")) {
assertTrue(dest.isQueue());
assertTrue(dest.isFreelyWriteable());
assertTrue(dest.isFreelyReadable());
assertEquals(2,((Queue)dest).getThreshold());
}else if(dest.getType().equals("topic")){
assertTrue( dest.isFreelyWriteable() );
assertTrue( dest.isFreelyReadable() );
} else if (dest.getAdminName().equals("queue")) {
assertTrue(dest.isTopic());
assertTrue(dest.isFreelyWriteable());
assertTrue(dest.isFreelyReadable());
}
if(dest.getAdminName().equals("defaultdmq")){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment