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, toStringpublic LuceneIndexProducer(org.apache.camel.Endpoint endpoint,
LuceneConfiguration config,
LuceneIndexer indexer)
throws Exception
Exceptionpublic void start()
throws Exception
start in interface org.apache.camel.Servicestart in class org.apache.camel.support.ServiceSupportExceptionpublic void stop()
throws Exception
stop in interface org.apache.camel.Servicestop in class org.apache.camel.support.ServiceSupportExceptionpublic LuceneConfiguration getConfig()
public void setConfig(LuceneConfiguration config)
public LuceneIndexer getIndexer()
public void setIndexer(LuceneIndexer indexer)
Apache Camel