private void stopPublicationByProviderId ( String providerParticipantId ) { for ( PublicationInformation publicationInformation : subscriptionId2PublicationInformation . values ( ) ) { if ( publicationInformation . getProviderParticipantId ( ) . equals ( providerParticipantId ) ) { removePublication ( publicationInformation . getSubscriptionId ( ) ) ; } } if ( providerParticipantId != null && queuedSubscriptionRequests . containsKey ( providerParticipantId ) ) { queuedSubscriptionRequests . removeAll ( providerParticipantId ) ; } }
Stops all publications for a provider