Interface ISolaceTopicArtifactMapping
- Assembly
- Solace.SchemaRegistry.Serdes.Core.dll
Interface to describe a mapping between a Solace topic expression and schema registry artifact reference. Topic expression follow the Solace topic wildcard character rules for matching.
Enables mapping between parameterized Solace topic and schema registry artifact references for example:
Topic 'NA/order/1/cart'
matches topic expression 'NA/order/*/cart'
maps to artifact reference with artifact id: 'Orders'
public interface ISolaceTopicArtifactMapping
Properties
ArtifactReference
Gets the mapped artifact reference.
IArtifactReference ArtifactReference { get; }
Property Value
TopicExpression
Gets the topic expression.
string TopicExpression { get; }
Property Value
Methods
Match(string)
Method for matching a given destination name to a topic expression.
bool Match(string destinationName)
Parameters
destinationNamestringThe destination name to test
Returns
- bool
True if the name matches the topic expression otherwise, false
Exceptions
- ArgumentNullException
Thrown when
destinationNameis null.