// Public --------------------------------------------------------
public void testAttributes() throws Exception
{
SimpleString address = RandomUtil.randomSimpleString();
SimpleString queue = RandomUtil.randomSimpleString();
SimpleString filter = new SimpleString("color = 'blue'");
boolean durable = RandomUtil.randomBoolean();
session.createQueue(address, queue, filter, durable);
QueueControl queueControl = createManagementControl(address, queue);
Assert.assertEquals(queue.toString(), queueControl.getName());
Assert.assertEquals(address.toString(), queueControl.getAddress());
Assert.assertEquals(filter.toString(), queueControl.getFilter());
Assert.assertEquals(durable, queueControl.isDurable());
Assert.assertEquals(false, queueControl.isTemporary());
session.deleteQueue(queue);
}