Jolokia Trait
The Jolokia trait activates and configures the Jolokia Java agent.
This trait is available in the following profiles: Kubernetes, Knative, OpenShift.
Configuration
Trait properties can be specified when running any integration with the CLI:
kamel run --trait jolokia.[key]=[value] --trait jolokia.[key2]=[value2] integration.groovy
The following configuration options are available:
Property | Type | Description |
---|---|---|
jolokia.enabled |
bool |
Can be used to enable or disable a trait. All traits share this common property. |
jolokia.ca-cert |
string |
The PEM encoded CA certification file path, used to verify client certificates,
applicable when |
jolokia.client-principal |
[]string |
The principal(s) which must be given in a client certificate to allow access to the Jolokia endpoint,
applicable when |
jolokia.discovery-enabled |
bool |
Listen for multicast requests (default |
jolokia.extended-client-check |
bool |
Mandate the client certificate contains a client flag in the extended key usage section,
applicable when |
jolokia.host |
string |
The Host address to which the Jolokia agent should bind to. If |
jolokia.password |
string |
The password used for authentication, applicable when the |
jolokia.port |
int |
The Jolokia endpoint port (default |
jolokia.protocol |
string |
The protocol to use, either |
jolokia.user |
string |
The user to be used for authentication |
jolokia.use-ssl-client-authentication |
bool |
Whether client certificates should be used for authentication (default |
jolokia.options |
string |
A comma-separated list of additional Jolokia options as defined
in JVM agent configuration options,
e.g.: |