Jvm Trait
The JVM trait is used to configure the JVM that runs the Integration. This trait can be configured only for Integration and related IntegrationKits (bound to a container image) built by Camel K operator. If the system detects the usage of a different container image (ie, built externally), then, the trait is disabled by the platform.
the platform will skip the trait configuration for those container image matching camel-k-kit- name. |
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 jvm.[key]=[value] --trait jvm.[key2]=[value2] integration.groovy
The following configuration options are available:
Property | Type | Description |
---|---|---|
|
| Can be used to enable or disable a trait. All traits share this common property. |
|
| Activates remote debugging, so that a debugger can be attached to the JVM, e.g., using port-forwarding |
|
| Suspends the target JVM immediately before the main class is loaded |
|
| Prints the command used the start the JVM in the container logs (default |
|
| Transport address at which to listen for the newly launched JVM (default |
|
| A list of JVM options |
|
| Additional JVM classpath (use |