org.apache.camel
Interface Service

All Known Subinterfaces:
BatchConsumer, BrowsableEndpoint, CamelContext, Consumer, ConsumerTemplate, Debugger, Endpoint, ExecutorServiceStrategy, IdempotentRepository<E>, InflightRepository, ManagementAgent, ManagementStrategy, PollingConsumer, Producer, ProducerTemplate, RouteboxConsumer, ShutdownableService, ShutdownStrategy, SuspendableService, UnitOfWork
All Known Implementing Classes:
ActivityMonitorEngine, ActivityRules, AggregateProcessor, AhcComponent, AhcEndpoint, AhcProducer, AMQPComponent, AOPProcessor, ApnsComponent, ApnsConsumer, ApnsEndpoint, ApnsProducer, AtomComponent, AtomEndpoint, AtomEntryPollingConsumer, AtomPollingConsumer, AtomProducer, BaseTypeConverterRegistry, BatchProcessor, BeanComponent, BeanEndpoint, BeanProcessor, BeanValidatorComponent, BlueprintCamelContext, BrowseComponent, BrowseEndpoint, CacheComponent, CacheConsumer, CacheEndpoint, CacheManagerFactory, CacheProducer, CamelLogger, CatchProcessor, ChildUnitOfWorkProcessor, ChoiceProcessor, ClassComponent, CollectionProducer, CometdComponent, CometdConsumer, CometdEndpoint, CometdProducer, ConsumerCache, CorrelationMap, CronScheduledRoutePolicy, CxfBeanComponent, CxfBeanEndpoint, CxfBlueprintEndpoint, CxfComponent, CxfConsumer, CxfEndpoint, CxfProducer, CxfRsBlueprintEndpoint, CxfRsComponent, CxfRsConsumer, CxfRsEndpoint, CxfRsProducer, CxfRsSpringEndpoint, CxfSpringEndpoint, DataSetComponent, DataSetConsumer, DataSetEndpoint, DeadLetterChannel, DefaultAsyncProducer, DefaultCacheManagerFactory, DefaultCamelContext, DefaultChannel, DefaultComponent, DefaultConsumer, DefaultConsumerTemplate, DefaultDebugger, DefaultEndpoint, DefaultErrorHandler, DefaultExecutorServiceStrategy, DefaultInflightRepository, DefaultManagementAgent, DefaultManagementLifecycleStrategy, DefaultManagementStrategy, DefaultPackageScanClassResolver, DefaultPollingEndpoint, DefaultProducer, DefaultProducerServicePool, DefaultProducerTemplate, DefaultRoute, DefaultScheduledPollConsumer, DefaultServicePool, DefaultShutdownStrategy, DefaultTimeoutMap, DefaultTypeConverter, DefaultUnitOfWork, Delayer, DelayInterceptor, DelayProcessorSupport, DelegateAsyncProcessor, DelegateProcessor, DelimitedEndpoint, DigitalSignatureComponent, DigitalSignatureEndpoint, DigitalSignatureProducer, DirectComponent, DirectConsumer, DirectEndpoint, DirectProducer, DnsComponent, DnsDigEndpoint, DnsIpEndpoint, DnsLookupEndpoint, DynamicRouter, EclipsePackageScanClassResolver, EjbComponent, EndpointRegistry, Enricher, ErrorHandlerSupport, EventAdminComponent, EventAdminConsumer, EventAdminEndpoint, EventAdminProducer, EventComponent, EventConsumer, EventDrivenConsumerRoute, EventDrivenPollingConsumer, EventEndpoint, EventNotifierSupport, ExecComponent, ExecEndpoint, ExecProducer, FabricTraceProcessor, FabricTracer, FailOverLoadBalancer, FatalFallbackErrorHandler, FeedComponent, FeedEndpoint, FeedEntryPollingConsumer, FeedPollingConsumer, FileComponent, FileConsumer, FileEndpoint, FileIdempotentRepository, FilterProcessor, FixedLengthEndpoint, FlatpackComponent, FreemarkerComponent, FreemarkerEndpoint, FtpComponent, FtpConsumer, FtpEndpoint, FtpsComponent, FtpsEndpoint, GaeDefaultCamelContext, GaeSpringCamelContext, GAuthComponent, GAuthEndpoint, GAuthProducer, GenericFileComponent, GenericFileConsumer, GenericFileEndpoint, GenericFileProducer, GHttpComponent, GHttpEndpoint, GHttpProducer, GLoginComponent, GLoginEndpoint, GLoginProducer, GMailComponent, GMailEndpoint, GMailProducer, GTaskComponent, GTaskEndpoint, GTaskProducer, GuiceCamelContext, HandleFaultInterceptor, HawtDBAggregationRepository, HawtDBFile, HazelcastAtomicnumberEndpoint, HazelcastAtomicnumberProducer, HazelcastComponent, HazelcastDefaultConsumer, HazelcastDefaultEndpoint, HazelcastIdempotentRepository, HazelcastInstanceConsumer, HazelcastInstanceEndpoint, HazelcastListConsumer, HazelcastListEndpoint, HazelcastListProducer, HazelcastMapConsumer, HazelcastMapEndpoint, HazelcastMapProducer, HazelcastMultimapConsumer, HazelcastMultimapEndpoint, HazelcastMultimapProducer, HazelcastQueueConsumer, HazelcastQueueEndpoint, HazelcastQueueProducer, HazelcastSedaConsumer, HazelcastSedaEndpoint, HazelcastSedaProducer, HdfsComponent, HdfsConsumer, HdfsEndpoint, HdfsProducer, HeaderFilterStrategyComponent, HttpComponent, HttpComponent, HttpConsumer, HttpConsumer, HttpEndpoint, HttpEndpoint, HttpPollingConsumer, HttpPollingConsumer, HttpProducer, HttpProducer, IBatisComponent, IBatisConsumer, IBatisEndpoint, IBatisProducer, IdempotentConsumer, InstrumentationProcessor, InterceptEndpointProcessor, InterceptorToAsyncProcessorBridge, InterceptSendToEndpoint, IrcComponent, IrcConsumer, IrcEndpoint, IrcProducer, JavaSpaceComponent, JavaSpaceConsumer, JavaSpaceEndpoint, JavaSpaceProducer, JaxbDataFormat, JcrComponent, JcrEndpoint, JcrProducer, JdbcAggregationRepository, JdbcComponent, JdbcEndpoint, JdbcMessageIdRepository, JdbcProducer, JettyHttpComponent, JettyHttpEndpoint, JettyHttpProducer, JingComponent, JmsComponent, JmsConsumer, JmsEndpoint, JmsPollingConsumer, JmsProducer, JmsQueueEndpoint, JmsTemporaryQueueEndpoint, JmsTemporaryTopicEndpoint, JMXComponent, JMXConsumer, JMXEndpoint, JMXMonitorConsumer, JmxNotificationEventNotifier, JpaComponent, JpaConsumer, JpaEndpoint, JpaMessageIdRepository, JpaProducer, Jt400Component, Jt400DataQueueConsumer, Jt400DataQueueEndpoint, Jt400DataQueueProducer, Jt400PgmEndpoint, Jt400PgmProducer, KestrelComponent, KestrelConsumer, KestrelEndpoint, KestrelProducer, LanguageComponent, LanguageEndpoint, LanguageProducer, LazyLoadingTypeConverter, LdapComponent, LdapEndpoint, LdapProducer, LimitedPollingConsumerPollStrategy, LoadBalancerConsumer, LoadBalancerSupport, LocalContextComponent, LogComponent, LogEndpoint, LoggingErrorHandler, LoggingEventNotifier, LogProducer, LoopProcessor, LRUCache, LRUSoftCache, LuceneComponent, LuceneEndpoint, LuceneIndexProducer, LuceneQueryProducer, MailComponent, MailConsumer, MailEndpoint, MailProducer, Main, Main, Main, Main, Main, MainSupport, ManagedManagementStrategy, MarshalProcessor, MDCUnitOfWork, MemoryAggregationRepository, MemoryIdempotentRepository, MinaComponent, MinaConsumer, MinaEndpoint, MinaProducer, MockComponent, MockEndpoint, MsvComponent, MulticastProcessor, MyBatisComponent, MyBatisConsumer, MyBatisEndpoint, MyBatisProducer, NagiosComponent, NagiosEndpoint, NagiosEventNotifier, NagiosProducer, NettyComponent, NettyConsumer, NettyEndpoint, NettyProducer, OnCompletionProcessor, OsgiCamelContextPublisher, OsgiDefaultCamelContext, OsgiEventAdminNotifier, OsgiPackageScanClassResolver, OsgiSpringCamelContext, OsgiTypeConverter, PaxLoggingComponent, PaxLoggingConsumer, PaxLoggingEndpoint, PersistentQueueReplyManager, Pipeline, PollEnricher, PollingConsumerSupport, PrinterComponent, PrinterEndpoint, PrinterProducer, ProcessorEndpoint, ProcessorPollingConsumer, ProcessRules, ProducerCache, PropertiesComponent, PropertyEditorTypeConverter, PublishEventNotifier, QualifiedContextComponent, QuartzComponent, QuartzConsumer, QuartzEndpoint, QueueLoadBalancer, QuickfixjComponent, QuickfixjConsumer, QuickfixjEndpoint, QuickfixjProducer, RandomLoadBalancer, RecipientList, RecipientListProcessor, RedeliveryErrorHandler, RefComponent, RelaxNGCompactSyntaxComponent, RemoteFileComponent, RemoteFileConsumer, RemoteFileEndpoint, RemoteFileProducer, ReplyManagerSupport, Resequencer, ResourceBasedComponent, ResourceBasedEndpoint, RestletComponent, RestletConsumer, RestletEndpoint, RestletProducer, RmiComponent, RmiConsumer, RmiEndpoint, RmiProducer, RoundRobinLoadBalancer, RouteboxComponent, RouteboxDirectConsumer, RouteboxDirectEndpoint, RouteboxDirectProducer, RouteboxEndpoint, RouteboxSedaConsumer, RouteboxSedaEndpoint, RouteboxSedaProducer, RouteboxServiceSupport, RoutePolicyProcessor, RoutePolicySupport, RouteService, RoutingSlip, RssComponent, RssEndpoint, RssEntryPollingConsumer, RssPollingConsumer, S3Component, S3Consumer, S3Endpoint, S3Producer, SamplingThrottler, ScheduledPollConsumer, ScheduledPollEndpoint, ScheduledRoutePolicy, SedaComponent, SedaConsumer, SedaEndpoint, SedaProducer, SendProcessor, ServiceSupport, ServletComponent, ServletEndpoint, SftpComponent, SftpConsumer, SftpEndpoint, SharedProducerServicePool, SimpleLoadBalancerSupport, SimpleScheduledRoutePolicy, SipComponent, SipEndpoint, SipPresenceAgent, SipPublisher, SipSubscriber, SmppComponent, SmppConsumer, SmppEndpoint, SmppProducer, SnmpComponent, SnmpEndpoint, SnmpOIDPoller, SnmpTrapConsumer, SnsComponent, SnsEndpoint, SnsProducer, SoapJaxbDataFormat, Splitter, SpringCamelContext, SpringIntegrationComponent, SpringIntegrationConsumer, SpringIntegrationEndpoint, SpringIntegrationProducer, SpringWebserviceComponent, SpringWebserviceConsumer, SpringWebserviceEndpoint, SpringWebserviceProducer, SqlComponent, SqlEndpoint, SqlProducer, SqsComponent, SqsConsumer, SqsEndpoint, SqsProducer, StickyLoadBalancer, StreamCachingInterceptor, StreamComponent, StreamConsumer, StreamEndpoint, StreamProducer, StreamResequencer, StringTemplateComponent, StringTemplateEndpoint, SubUnitOfWorkProcessor, SynchronousDelegateProducer, TemporalRule, TemporaryQueueReplyManager, TestComponent, TestEndpoint, ThreadsProcessor, Throttler, ThrottlingInflightRoutePolicy, ThroughputLogger, TimerComponent, TimerConsumer, TimerEndpoint, TopicLoadBalancer, TraceInterceptor, Tracer, TransactionErrorHandler, TryProcessor, UnitOfWorkProcessor, UnitOfWorkProducer, UnmarshalProcessor, ValidatorComponent, VelocityComponent, VelocityEndpoint, VmComponent, WebSpherePackageScanClassResolver, WeightedLoadBalancer, WeightedRandomLoadBalancer, WeightedRoundRobinLoadBalancer, WikipediaEndpoint, WireTapProcessor, WrapProcessor, XmppComponent, XmppConsumer, XmppEndpoint, XmppGroupChatProducer, XmppPrivateChatProducer, XPathBuilder, XQueryComponent, XsltComponent

public interface Service

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

Version:

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

Method Detail

start

void start()
           throws Exception
Starts the service

Throws:
Exception - is thrown if starting failed

stop

void stop()
          throws Exception
Stops the service

Throws:
Exception - is thrown if stopping failed


Apache CAMEL