protected void addSubscriptionToMessage(MESubscription subscription, boolean isLocalBus)
  {
    if (tc.isEntryEnabled())
      SibTr.entry(tc, "addSubscriptionToMessage", new Object[]{subscription, new Boolean(isLocalBus)});

    // Add the subscription related information.
    iTopics.add(subscription.getTopic());
    if(isLocalBus)
    {
      //see defect 267686:
      //local bus subscriptions expect the subscribing ME's
      //detination uuid to be set in the iTopicSpaces field
      iTopicSpaces.add(subscription.getTopicSpaceUuid().toString());
    }
    else
    {
      //see defect 267686:
      //foreign bus subscriptions need to set the subscribers's topic space name.
      //This is because the messages sent to this topic over the link
      //will need to have a routing destination set, which requires
      //this value.
      iTopicSpaces.add(subscription.getTopicSpaceName().toString());
    }
    iTopicSpaceMappings.add(subscription.getForeignTSName());

    if (tc.isEntryEnabled())
      SibTr.exit(tc, "addSubscriptionToMessage");
  }
protected void addSubscriptionToMessage ( MESubscription subscription , boolean isLocalBus ) { if ( tc . isEntryEnabled ( ) ) SibTr . entry ( tc , "addSubscriptionToMessage" , new Object [ ] { subscription , new Boolean ( isLocalBus ) } ) ; iTopics . add ( subscription . getTopic ( ) ) ; if ( isLocalBus ) { iTopicSpaces . add ( subscription . getTopicSpaceUuid ( ) . toString ( ) ) ; } else { iTopicSpaces . add ( subscription . getTopicSpaceName ( ) . toString ( ) ) ; } iTopicSpaceMappings . add ( subscription . getForeignTSName ( ) ) ; if ( tc . isEntryEnabled ( ) ) SibTr . exit ( tc , "addSubscriptionToMessage" ) ; }
Adds a subscription to the proxy message that is to be sent.

This will either be a delete or reset message.
Reset will add messages to the list to resync with the Neighbour
and the Delete will send it on due to receiving a Reset.

@param subscription The MESubscription to add to the message.
@param isLocalBus   The message is for the messaging engine's local bus