Class StandardMessageNameFactory
java.lang.Object
org.apache.nifi.schemaregistry.services.StandardMessageNameFactory
Factory class for creating StandardMessageName instances from various input formats.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StandardMessageNameParses a fully qualified message name that may include a package namespace.
-
Constructor Details
-
StandardMessageNameFactory
public StandardMessageNameFactory()
-
-
Method Details
-
fromName
Parses a fully qualified message name that may include a package namespace. If the name contains a dot (.), everything before the last dot is treated as the namespace, and everything after the last dot is treated as the message name.- Parameters:
fullMessageName- the fully qualified message name (e.g., "mypackage.MyMessage" or "MyMessage")- Returns:
- a new StandardMessageName instance with parsed namespace and name
- Throws:
NullPointerException- if fullMessageName is null
-