org.apache.camel.component.lucene
Class LuceneQueryProducer
java.lang.Object
org.apache.camel.impl.ServiceSupport
org.apache.camel.impl.DefaultProducer
org.apache.camel.component.lucene.LuceneQueryProducer
- All Implemented Interfaces:
- IsSingleton, Processor, Producer, Service, ShutdownableService
public class LuceneQueryProducer
- extends DefaultProducer
| Methods inherited from class org.apache.camel.impl.ServiceSupport |
addChildService, doShutdown, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, removeChildService, shutdown |
LuceneQueryProducer
public LuceneQueryProducer(Endpoint endpoint,
LuceneConfiguration config)
throws Exception
- Throws:
Exception
start
public void start()
throws Exception
- Description copied from interface:
Service
- Starts the service
- Specified by:
start in interface Service- Overrides:
start in class ServiceSupport
- Throws:
Exception - is thrown if starting failed
stop
public void stop()
throws Exception
- Description copied from interface:
Service
- Stops the service
- Specified by:
stop in interface Service- Overrides:
stop in class ServiceSupport
- Throws:
Exception - is thrown if stopping failed
process
public void process(Exchange exchange)
throws Exception
- Description copied from interface:
Processor
- Processes the message exchange
- Parameters:
exchange - the message exchange
- Throws:
Exception - if an internal processing error has occurred.
getConfig
public LuceneConfiguration getConfig()
setConfig
public void setConfig(LuceneConfiguration config)
Copyright © 2007-2010 IONA Open Source Community. All Rights Reserved.