// create and setup channel
IntHolder channelId = new IntHolder();
Property[] qosProps;
qosProps = new Property[] { new Property(OrderPolicy.value, priorityOrder) };
EventChannel channel = getEventChannelFactory().create_channel(qosProps, new Property[0], channelId);
// testdata
StructuredEvent[] events = new StructuredEvent[10];
for (int x = 0; x < events.length; ++x)
{
events[x] = new NotificationTestUtils(getClientORB()).getStructuredEvent();
Any priority = getClientORB().create_any();
priority.insert_short((short) x);
events[x].header.variable_header = new Property[] { new Property(Priority.value,
priority) };
}
final List received = new ArrayList();