Class MessageExecutionThreadFactory

All Implemented Interfaces:
Serializable, ThreadFactory

public class MessageExecutionThreadFactory extends CustomizableThreadFactory
CustomizableThreadFactory implementation for creating MessageExecutionThread instances. This should be set to TaskExecutor instances provided by ContainerOptions.getComponentsTaskExecutor() to avoid excessive thread hopping for blocking components.
Since:
3.0
Author:
Tomaz Fernandes
See Also:
  • Constructor Details

    • MessageExecutionThreadFactory

      public MessageExecutionThreadFactory()
      Create a new MessageExecutionThreadFactory with default thread name prefix.
    • MessageExecutionThreadFactory

      public MessageExecutionThreadFactory(String threadNamePrefix)
      Create a new MessageExecutionThreadFactory with the given thread name prefix.
      Parameters:
      threadNamePrefix - the prefix to use for the names of newly created threads
  • Method Details