public void testSelectorWithJMSDeliveryMode() throws Exception
{
Session session = _connection.createSession(false, Session.SESSION_TRANSACTED);
Destination dest1 = session.createTopic("test1");
Destination dest2 = session.createTopic("test2");
MessageProducer prod1 = session.createProducer(dest1);
MessageProducer prod2 = session.createProducer(dest2);
MessageConsumer consumer1 = session.createConsumer(dest1,"JMSDeliveryMode = 'PERSISTENT'");
MessageConsumer consumer2 = session.createConsumer(dest2,"JMSDeliveryMode = 'NON_PERSISTENT'");