Returns Some(CamelContext) (containing the current CamelContext)
if CamelContextLifecycle has been initialized, otherwise None.
Returns Some(CamelContext) (containing the current CamelContext)
if CamelContextLifecycle has been initialized, otherwise None.
see CamelContextLifecycle.
see CamelContextLifecycle.getContext
Java API.
see CamelContextLifecycle.
see CamelContextLifecycle.getMandatoryContext
Java API.
see CamelContextLifecycle.
see CamelContextLifecycle.getMandatoryTemplate
Java API.
see CamelContextLifecycle.
see CamelContextLifecycle.getTemplate
Java API.
Initializes this instance with the given CamelContext.
Initializes this instance with the given CamelContext. For the passed context
stream-caching is enabled. If applications want to disable stream-caching they can do so
after this method returned and prior to calling start.
Initializes this instance a new DefaultCamelContext.
Initializes this instance a new DefaultCamelContext.
Returns the current CamelContext if this CamelContextLifecycle
has been initialized, otherwise throws an IllegalStateException.
Returns the current CamelContext if this CamelContextLifecycle
has been initialized, otherwise throws an IllegalStateException.
Returns the current ProducerTemplate if this CamelContextLifecycle
has been initialized, otherwise throws an IllegalStateException.
Returns the current ProducerTemplate if this CamelContextLifecycle
has been initialized, otherwise throws an IllegalStateException.
Starts the CamelContext and an associated ProducerTemplate.
Starts the CamelContext and an associated ProducerTemplate.
Stops the CamelContext and the associated ProducerTemplate.
Stops the CamelContext and the associated ProducerTemplate.
Returns Some(ProducerTemplate) (containing the current ProducerTemplate)
if CamelContextLifecycle has been initialized, otherwise None.
Returns Some(ProducerTemplate) (containing the current ProducerTemplate)
if CamelContextLifecycle has been initialized, otherwise None.
Manages a global CamelContext and an associated ProducerTemplate.