public class CamelCompositeProcessor extends AbstractStateCompositeProcessor implements org.apache.camel.CamelContextAware
AbstractStateCompositeProcessor
implementation
which allow to inject Mail
into the routes.AbstractStateCompositeProcessor.CompositeProcessorListener
config, 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, setLog
public 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 AbstractStateCompositeProcessor
Exception
public org.apache.camel.CamelContext getCamelContext()
getCamelContext
in interface org.apache.camel.CamelContextAware
CamelContextAware.getCamelContext()
public void setCamelContext(org.apache.camel.CamelContext camelContext)
setCamelContext
in interface org.apache.camel.CamelContextAware
CamelContextAware.setCamelContext(org.apache.camel.CamelContext)
protected MailProcessor createMailProcessor(String name, org.apache.commons.configuration.HierarchicalConfiguration config) throws Exception
AbstractStateCompositeProcessor
MailProcessor
createMailProcessor
in class AbstractStateCompositeProcessor
Exception
#createMailProcessor(java.lang.String, org.apache.commons.configuration.HierarchicalConfiguration)
Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.