public TransactionInformationBeforeTheLogicalOutboxBehavior(IPartitionKeyFromMessageExtractor partitionKeyExtractor, IContainerInformationFromMessagesExtractor containerInformationExtractor) { this.partitionKeyExtractor = partitionKeyExtractor; this.containerInformationExtractor = containerInformationExtractor; }
/// <summary> /// Adds an instance of <see cref="IContainerInformationFromMessagesExtractor"/> to the list of message extractors. /// </summary> /// <param name="extractor">The custom extractor.</param> /// <remarks>Explicitly added extractors and extraction rules are executed before extractors registered on the container.</remarks> public void ExtractContainerInformationFromMessage(IContainerInformationFromMessagesExtractor extractor) => ContainerInformationExtractor.ExtractContainerInformationFromMessage(extractor);