protected ActiveMqQueueFactory<T, ID, DATA> setDefaultConnectionFactory(
            ActiveMQConnectionFactory connectionFactory, boolean setMyOwnConnectionFactory) {
        if (myOwnConnectionFactory && this.defaultConnectionFactory != null) {
            // destroy this.defaultConnectionFactory instance
        }
        this.defaultConnectionFactory = connectionFactory;
        myOwnConnectionFactory = setMyOwnConnectionFactory;
        return this;
    }
protected ActiveMqQueueFactory < T , ID , DATA > setDefaultConnectionFactory ( ActiveMQConnectionFactory connectionFactory , boolean setMyOwnConnectionFactory ) { if ( myOwnConnectionFactory && this . defaultConnectionFactory != null ) { } this . defaultConnectionFactory = connectionFactory ; myOwnConnectionFactory = setMyOwnConnectionFactory ; return this ; }
Setter for {@link #defaultConnectionFactory}.

@param connectionFactory
@param setMyOwnConnectionFactory
@return
@since 0.7.1