public void addJmsBrokers ( Jms [ ] jmses ) { for ( Jms jms : jmses ) { final JmsDefinition jmsDefinition = new JmsDefinition ( jms . connectionFactoryName ( ) ) ; jmsDefinition . addQueues ( jms . queues ( ) ) ; jmsDefinition . addTopics ( jms . topics ( ) ) ; this . jmsDefinitions . add ( jmsDefinition ) ; } }
Add all JMS broker defintions