org.apache.camel
Interface Service

All Known Subinterfaces:
CamelContext, Consumer<E>, InstrumentationAgent, PollingConsumer<E>, Producer<E>, ProducerTemplate<E>
All Known Implementing Classes:
Aggregator, BatchProcessor, BeanComponent, BeanProcessor, CamelTemplate, CatchProcessor, ChoiceProcessor, CollectionProducer, CompositeProcessor, DataSetComponent, DataSetConsumer, DataSetEndpoint, DeadLetterChannel, DebugInterceptor, DefaultCamelContext, DefaultComponent, DefaultConsumer, DefaultInstrumentationAgent, DefaultProducer, DefaultProducerTemplate, DefaultScheduledPollConsumer, DefaultUnitOfWork, Delayer, DelayInterceptor, DelayProcessorSupport, DelegateAsyncProcessor, DelegateProcessor, DirectComponent, DirectProducer, ErrorHandlerSupport, EventDrivenPollingConsumer, FileComponent, FileConsumer, FileProducer, FilterProcessor, HandleFaultProcessor, IdempotentConsumer, InstrumentationProcessor, Interceptor, JMXComponent, JMXConsumer, ListComponent, ListPollingConsumer, LoadBalancerConsumer, LoadBalancerSupport, LogComponent, LoggingErrorHandler, LoopProcessor, MainSupport, MockComponent, MulticastProcessor, Pipeline, PollingConsumerSupport, ProcessorPollingConsumer, ProducerCache, QueueComponent, QueueLoadBalancer, RandomLoadBalancer, RecipientList, RefComponent, Resequencer, RoundRobinLoadBalancer, RoutingSlip, ScheduledPollConsumer, SedaComponent, SedaConsumer, SendProcessor, ServiceSupport, Splitter, StickyLoadBalancer, StreamCachingInterceptor, StreamResequencer, ThreadProcessor, Throttler, TimerComponent, TimerConsumer, TopicLoadBalancer, TraceInterceptor, TransformProcessor, TryProcessor, UnitOfWorkProcessor, VmComponent

public interface Service

Represents the core lifecycle API for POJOs which can be started and stopped

Version:
$Revision: 630591 $

Method Summary
 void start()
          Starts the service
 void stop()
          Stops the service
 

Method Detail

start

void start()
           throws Exception
Starts the service

Throws:
Exception

stop

void stop()
          throws Exception
Stops the service

Throws:
Exception


Apache CAMEL