Class IdentifierUtils

java.lang.Object
org.qubership.integration.platform.engine.util.IdentifierUtils

public final class IdentifierUtils extends Object
  • 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

      public static String extractIdFromIdentifier(String nodeId)
      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

      public static ElementIdentifier spreadIdentifier(org.apache.camel.NamedNode node)
      Method is used to build complex element identifier object based on string from xml configuration
    • spreadIdentifier

      public static ElementIdentifier spreadIdentifier(String nodeId)
      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

      public static boolean isServiceElement(String nodeId)
      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

      public static boolean isValidUUID(String text)
    • getServiceCallRetryIteratorPropertyName

      public static String getServiceCallRetryIteratorPropertyName(String elementId)
    • getServiceCallRetryPropertyName

      public static String getServiceCallRetryPropertyName(String elementId)