code: @Override
      public LocalizationPoint addNewPtoPLocalization(
                                                      boolean localisationIsRemote,
                                                      TransactionCommon transaction,
                                                      SIBUuid8 messagingEngineUuid,
                                                      BaseLocalizationDefinition destinationLocalizationDefinition,
                                                      boolean queuePoint) throws SIResourceException
      {
          if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
              SibTr.entry(
                          tc,
                          "addNewPtoPLocalization",
                          new Object[] {
                                        Boolean.valueOf(localisationIsRemote),
                                        transaction,
                                        messagingEngineUuid,
                                        destinationLocalizationDefinition,
                                        Boolean.valueOf(queuePoint),
                                        this });
  
          LocalizationPoint newMsgItemStream = null;
  
          if (!localisationIsRemote)
          {
              newMsgItemStream =
                              addNewLocalPtoPLocalization(transaction,
                                                          messagingEngineUuid,
                                                          (LocalizationDefinition) destinationLocalizationDefinition,
                                                          queuePoint);
          }
          else
          {
              newMsgItemStream =
                              _localisationManager.
                                              addNewRemotePtoPLocalization(transaction,
                                                                           messagingEngineUuid,
                                                                           (LocalizationDefinition) destinationLocalizationDefinition,
                                                                           queuePoint,
                                                                           _remoteSupport);
          }
  
          if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
              SibTr.exit(tc, "addNewPtoPLocalization", newMsgItemStream);
  
          return newMsgItemStream;
      }
docs: Method addNewPtoPLocalisation
  
  <p> Create a new PtoPMessageItemStream and add it to this Destination's Localisations.
  <p>
  In addition to creating and adding it, this function also performs all the
  necessary updates to make it a recognized part of the Destination.
  
  @param localisationIsRemote should be true if the localisation is remote.
  @param transaction The Transaction to add under. Cannot be null.
  @param messagingEngineUuid The uuid of the messaging engine that owns the localisation
  @return destinationLocalizationDefinition.
  
  @throws SIResourceException if the add fails due to a Message Store problem.