Class DockerRunningProcessor
java.lang.Object
org.fcrepo.camel.common.processor.DockerRunningProcessor
- All Implemented Interfaces:
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 -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
DOCKER_RUNNING
- See Also:
-
-
Constructor Details
-
DockerRunningProcessor
public DockerRunningProcessor()
-
-
Method Details
-
process
- Specified by:
processin interfaceorg.apache.camel.Processor- Throws:
Exception
-