...
The org.apache.camel.component.servletlistener.CamelServletContextListener
supports the following options which can be configured as context-param in the web.xml file.
Div |
---|
class | confluenceTableSmall |
---|
|
Option | Type | Description |
---|
propertyPlaceholder.XXX | | To configure property placeholders in Camel. You should prefix the option with |
|
Wiki Markup |
---|
{div:class=confluenceTableSmall}
|| Option || Type || Description ||
| propertyPlaceholder.XXX | | To configure [property placeholders|Using PropertyPlaceholder] in Camel. You should prefix the option with propertyPlaceholder.location |
[] |
| | | To configure [JMX|Camel JMX]. You should prefix the option with | | To configure JMX. You should prefix the option with "jmx.", |
{{org.apache.camel.spi.ManagementAgent
|
}} [JMX|Camel ] |
| name | {{String}} | To configure the name of the [CamelContext]. |
| messageHistory | {{Boolean}} | *Camel | name | String | To configure the name of the CamelContext. | messageHistory | Boolean | Camel 2.12.2: |
* [ ] |
| streamCache | {{Boolean}} | Whether to enable [Stream Caching]. |
| trace | {{Boolean}} | Whether to enable [Tracer]. |
| delayer | {{Long}} | To set a delay value for [Delay Interceptor]. |
| handleFault | {{Boolean}} | Whether to enable handle fault. |
| errorHandlerRef | {{String}} | Refers to a context scoped [Error Handler] to be used. |
| autoStartup | {{Boolean}} | Whether to start all routes when starting Camel. |
| useMDCLogging | {{Boolean}} | Whether to use [MDC Logging]. |
| useBreadcrumb | {{Boolean}} | Whether to use [breadcrumb|MDC Logging]. |
| managementNamePattern | {{String}} | To set a custom naming pattern for JMX MBeans. |
| threadNamePattern | {{String}} | To set a custom naming pattern for threads. |
| properties.XXX | | To set custom properties on {{CamelContext.getProperties}}. This is seldom in use. |
| routebuilder.XXX | | To configure routes to be used. See below for more details. |
| CamelContextLifecycle | | Refers to a FQN classname of an implementation of {{ | streamCache | Boolean | Whether to enable Stream Caching. | trace | Boolean | Whether to enable Tracer. | delayer | Long | To set a delay value for Delay Interceptor. | handleFault | Boolean | Whether to enable handle fault. | errorHandlerRef | String | Refers to a context scoped Error Handler to be used. | autoStartup | Boolean | Whether to start all routes when starting Camel. | useMDCLogging | Boolean | Whether to use MDC Logging. | useBreadcrumb | Boolean | Whether to use breadcrumb. | managementNamePattern | String | To set a custom naming pattern for JMX MBeans. | threadNamePattern | String | To set a custom naming pattern for threads. | properties.XXX | | To set custom properties on CamelContext.getProperties . This is seldom in use. | routebuilder.XXX | | To configure routes to be used. See below for more details. | CamelContextLifecycle | | Refers to a FQN classname of an implementation of org.apache.camel.component.servletlistener.CamelContextLifecycle |
}} [] |
| XXX | | To set any option on [CamelContext]. |
{div} |
Examples
See Servlet Tomcat No Spring Example.
...