public class CamelCompositeProcessor extends AbstractStateCompositeProcessor implements org.apache.camel.CamelContextAware
AbstractStateCompositeProcessor implementation
which allow to inject Mail into the routes.AbstractStateCompositeProcessor.CompositeProcessorListenerconfig, logger| Constructor and Description |
|---|
CamelCompositeProcessor() |
| Modifier and Type | Method and Description |
|---|---|
protected MailProcessor |
createMailProcessor(String name,
org.apache.commons.configuration.HierarchicalConfiguration config)
Create a new
MailProcessor |
org.apache.camel.CamelContext |
getCamelContext() |
void |
init() |
void |
setCamelContext(org.apache.camel.CamelContext camelContext) |
void |
setMailetContext(org.apache.mailet.MailetContext mailetContext) |
void |
setMailetLoader(MailetLoader mailetLoader) |
void |
setMatcherLoader(MatcherLoader matcherLoader) |
addListener, configure, dispose, getListeners, getProcessor, getProcessorStates, removeListener, service, setLogpublic void setMatcherLoader(MatcherLoader matcherLoader)
public void setMailetLoader(MailetLoader mailetLoader)
public void setMailetContext(org.apache.mailet.MailetContext mailetContext)
@PostConstruct public void init() throws Exception
init in class AbstractStateCompositeProcessorExceptionpublic org.apache.camel.CamelContext getCamelContext()
getCamelContext in interface org.apache.camel.CamelContextAwareCamelContextAware.getCamelContext()public void setCamelContext(org.apache.camel.CamelContext camelContext)
setCamelContext in interface org.apache.camel.CamelContextAwareCamelContextAware.setCamelContext(org.apache.camel.CamelContext)protected MailProcessor createMailProcessor(String name, org.apache.commons.configuration.HierarchicalConfiguration config) throws Exception
AbstractStateCompositeProcessorMailProcessorcreateMailProcessor in class AbstractStateCompositeProcessorException#createMailProcessor(java.lang.String, org.apache.commons.configuration.HierarchicalConfiguration)Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.