public class LuceneIndexProducer
extends org.apache.camel.impl.DefaultProducer
Constructor and Description |
---|
LuceneIndexProducer(org.apache.camel.Endpoint endpoint,
LuceneConfiguration config,
LuceneIndexer indexer) |
Modifier and Type | Method and Description |
---|---|
LuceneConfiguration |
getConfig() |
LuceneIndexer |
getIndexer() |
void |
process(org.apache.camel.Exchange exchange) |
void |
setConfig(LuceneConfiguration config) |
void |
setIndexer(LuceneIndexer indexer) |
void |
start() |
void |
stop() |
createExchange, createExchange, createExchange, doStart, doStop, getEndpoint, isSingleton, toString
public LuceneIndexProducer(org.apache.camel.Endpoint endpoint, LuceneConfiguration config, LuceneIndexer indexer) throws Exception
Exception
public void start() throws Exception
start
in interface org.apache.camel.Service
start
in class org.apache.camel.support.ServiceSupport
Exception
public void stop() throws Exception
stop
in interface org.apache.camel.Service
stop
in class org.apache.camel.support.ServiceSupport
Exception
public LuceneConfiguration getConfig()
public void setConfig(LuceneConfiguration config)
public LuceneIndexer getIndexer()
public void setIndexer(LuceneIndexer indexer)
Apache Camel