Class ThreadHelper

    • Method Detail

      • resolveThreadName

        public static String resolveThreadName​(String pattern,
                                               String name)
        Creates a new thread name with the given pattern

        See org.apache.camel.spi.ExecutorServiceManager#setThreadNamePattern(String) for supported patterns.

        Parameters:
        pattern - the pattern
        name - the name
        Returns:
        the thread name, which is unique