reuse single connection . the connection object is thread safe and can be used concurrently concode_field_sep String BROKER_NAME concode_elem_sep MQBroker _instance concode_elem_sep String storageLimit concode_elem_sep Connection _connection concode_elem_sep String BROKER_URI concode_elem_sep BrokerService broker concode_elem_sep Logger logger concode_elem_sep String LOCAL_PORT concode_field_sep void createInstance concode_elem_sep MessageConsumer getAutoQueueConsumer concode_elem_sep void publishOnQueue concode_elem_sep Connection createConnection concode_elem_sep void onException concode_elem_sep String receiveTextFromQueue concode_elem_sep Session getAutoSession concode_elem_sep String receiveTextFromTopic concode_elem_sep void publishOnTopic concode_elem_sep void publishOnTopic concode_elem_sep MessageProducer getAutoQueueProducer concode_elem_sep void closeSession concode_elem_sep MQBroker getInstance concode_elem_sep MessageProducer getAutoTopicProducer concode_elem_sep MessageConsumer getAutoTopicConsumer
Connection function ( ) { return _connection ; }