final MessageProducer producer = this.messageSessionFactory.createProducer(true);
assertNotNull(producer);
assertTrue(producer.getPartitionSelector() instanceof RoundRobinPartitionSelector);
assertTrue(producer.isOrdered());
assertTrue(this.messageSessionFactory.getChildren().contains(producer));
producer.shutdown();
assertFalse(this.messageSessionFactory.getChildren().contains(producer));
}
@Test