Class IdentifierUtils
java.lang.Object
org.qubership.integration.platform.engine.util.IdentifierUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringextractIdFromIdentifier(String nodeId) Is used for providing id object from complex element identifier.static StringgetServiceCallRetryIteratorPropertyName(String elementId) static StringgetServiceCallRetryPropertyName(String elementId) static booleanisServiceElement(String nodeId) Every camel configuration must contains custom 'doTry' element which relates with 'doCatch' and 'log' after do 'doCatch'static booleanisServiceElement(org.apache.camel.NamedNode node) static booleanisSessionWrapper(org.apache.camel.NamedNode node) static booleanisSessionWrapperCatch(org.apache.camel.NamedNode node) static booleanisSessionWrapperCatchLog(org.apache.camel.NamedNode node) static booleanisValidUUID(String text) parseChainIdentifier(org.apache.camel.Exchange exchange) Chain identifier has next format chain_uuid:chain_name:random_uuidstatic ElementIdentifierspreadIdentifier(String nodeId) Method is used to build complex identifier object based on string from xml configurationstatic ElementIdentifierspreadIdentifier(org.apache.camel.NamedNode node) Method is used to build complex element identifier object based on string from xml configuration
-
Method Details
-
parseChainIdentifier
public static org.apache.commons.lang3.tuple.Pair<String,String> parseChainIdentifier(org.apache.camel.Exchange exchange) Chain identifier has next format chain_uuid:chain_name:random_uuid -
extractIdFromIdentifier
Is used for providing id object from complex element identifier. Element identifier has next structure: element_uuid:element_camelName:element_name. In case of system, identifier has next structure: element_uuid:element_camelName:element_name:system_uuid -
spreadIdentifier
Method is used to build complex element identifier object based on string from xml configuration -
spreadIdentifier
Method is used to build complex identifier object based on string from xml configuration -
isServiceElement
public static boolean isServiceElement(org.apache.camel.NamedNode node) -
isServiceElement
Every camel configuration must contains custom 'doTry' element which relates with 'doCatch' and 'log' after do 'doCatch' -
isSessionWrapper
public static boolean isSessionWrapper(org.apache.camel.NamedNode node) -
isSessionWrapperCatch
public static boolean isSessionWrapperCatch(org.apache.camel.NamedNode node) -
isSessionWrapperCatchLog
public static boolean isSessionWrapperCatchLog(org.apache.camel.NamedNode node) -
isValidUUID
-
getServiceCallRetryIteratorPropertyName
-
getServiceCallRetryPropertyName
-