Class DockerRunningProcessor
- java.lang.Object
-
- org.fcrepo.camel.common.processor.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
-
-
Field Summary
Fields Modifier and Type Field Description static StringDOCKER_RUNNING
-
Constructor Summary
Constructors Constructor Description DockerRunningProcessor()
-
-
-
Field Detail
-
DOCKER_RUNNING
public static final String DOCKER_RUNNING
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DockerRunningProcessor
public DockerRunningProcessor()
-
-