Class DockerRunningProcessor

  • All Implemented Interfaces:
    org.apache.camel.Processor

    public class DockerRunningProcessor
    extends Object
    implements org.apache.camel.Processor
    Processor for determining if the application is currently running in a Docker environment. Adds a header `CamelDockerRunning` of type boolean to the exchange headers. WARNING Checks for existence of /.dockerenv in the filesystem. Note that the presence of this file is not documented and that this check might not work in the future. See ...
    Author:
    Ralf Claussnitzer