engines/servicemix-wsn2005/src/main/java/org/apache/servicemix/wsn/jms/JmsNotificationBroker.java [47:58]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public void init(String brokerUsername, String brokerPassword) throws Exception {
        if (connection == null) {
            if (!WSNConfiguration.isEmpty(brokerUsername) 
                && !WSNConfiguration.isEmpty(brokerPassword)) {
                connection = connectionFactory.createConnection(brokerUsername, brokerPassword);
            } else {
                connection = connectionFactory.createConnection();
            }
            connection.start();
        }
        super.init();
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



engines/servicemix-wsn2005/src/main/java/org/apache/servicemix/wsn/jms/JmsCreatePullPoint.java [38:49]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public void init(String brokerUsername, String brokerPassword) throws Exception {
        if (connection == null) {
            if (!WSNConfiguration.isEmpty(brokerUsername) 
                && !WSNConfiguration.isEmpty(brokerPassword)) {
                connection = connectionFactory.createConnection(brokerUsername, brokerPassword);
            } else {
                connection = connectionFactory.createConnection();
            }
            connection.start();
        }
        super.init();
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



