protected void initializeNonPersistent(MessageProcessor messageProcessor)
    {
        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
            SibTr.entry(tc, "initializeNonPersistent", messageProcessor);

        /*
         * Keep a local reference to the MessageProcessor object, as this allows us
         * to find the message store and to generate units of work when required.
         */
        this.messageProcessor = messageProcessor;
        txManager = messageProcessor.getTXManager();

        destinationIndex = new DestinationIndex(messageProcessor.getMessagingEngineBus());
        foreignBusIndex = new ForeignBusIndex();
        linkIndex = new LinkIndex();

        /*
         * Create the system-wide hashmap for durable subscriptions. This MUST be available
         * to every TopicSpace since a subsriptionId is unique across the system.
         */
        durableSubscriptions = new HashMap();

        //initializing nondurableSharedSubscriptions here as it is common flow for cold and warm start
        //however nondurableSharedSubscriptions not be restored from Message Store.
        nondurableSharedSubscriptions = new ConcurrentHashMap<String, Object>();

        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
            SibTr.exit(tc, "initializeNonPersistent");
    }
protected void initializeNonPersistent ( MessageProcessor messageProcessor ) { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( tc , "initializeNonPersistent" , messageProcessor ) ; this . messageProcessor = messageProcessor ; txManager = messageProcessor . getTXManager ( ) ; destinationIndex = new DestinationIndex ( messageProcessor . getMessagingEngineBus ( ) ) ; foreignBusIndex = new ForeignBusIndex ( ) ; linkIndex = new LinkIndex ( ) ; durableSubscriptions = new HashMap ( ) ; nondurableSharedSubscriptions = new ConcurrentHashMap < String , Object > ( ) ; if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . exit ( tc , "initializeNonPersistent" ) ; }
Initialize non-persistent fields. These fields are common to both MS
reconstitution of DestinationManagers and initial creation.

Feature 174199.2.4

@param MessageProcessor