org.apache.camel.osgi
Class OsgiSpringCamelContext

java.lang.Object
  extended by org.apache.camel.support.ServiceSupport
      extended by org.apache.camel.impl.DefaultCamelContext
          extended by org.apache.camel.spring.SpringCamelContext
              extended by org.apache.camel.osgi.OsgiSpringCamelContext
All Implemented Interfaces:
org.apache.camel.CamelContext, org.apache.camel.model.ModelCamelContext, org.apache.camel.RuntimeConfiguration, org.apache.camel.Service, org.apache.camel.ShutdownableService, org.apache.camel.StatefulService, org.apache.camel.SuspendableService, Aware, DisposableBean, InitializingBean, ApplicationContextAware

public class OsgiSpringCamelContext
extends SpringCamelContext


Field Summary
 
Fields inherited from class org.apache.camel.support.ServiceSupport
shutdown, shuttingdown, started, starting, stopped, stopping, suspended, suspending
 
Constructor Summary
OsgiSpringCamelContext(ApplicationContext applicationContext, org.osgi.framework.BundleContext bundleContext)
           
 
Method Summary
protected  org.apache.camel.spi.Registry createRegistry()
           
protected  org.apache.camel.TypeConverter createTypeConverter()
           
 void setName(String name)
           
 
Methods inherited from class org.apache.camel.spring.SpringCamelContext
afterPropertiesSet, convertBeanToEndpoint, createEventEndpoint, createInjector, createManagementMBeanAssembler, destroy, getApplicationContext, getEventEndpoint, isShutdownEager, onApplicationEvent, setApplicationContext, setEventEndpoint, setNoStart, setShutdownEager, springCamelContext, springCamelContext, springCamelContext, toString
 
Methods inherited from class org.apache.camel.impl.DefaultCamelContext
addComponent, addEndpoint, addEndpointToRegistry, addInterceptStrategy, addLifecycleStrategy, addRegisterEndpointCallback, addRouteDefinition, addRouteDefinitions, addRoutes, addService, addStartupListener, createComponentResolver, createConsumerTemplate, createConsumerTemplate, createEndpoint, createManagementStrategy, createProducerTemplate, createProducerTemplate, createRouteStaticEndpointJson, disableJMX, doResume, doStart, doStartOrResumeRoutes, doStop, doSuspend, findComponents, forceLazyInitialization, forceStopLazyInitialization, getApplicationContextClassLoader, getClassResolver, getComponent, getComponent, getComponent, getComponentDocumentation, getComponentNames, getComponentResolver, getDataFormatResolver, getDataFormats, getDebugger, getDefaultBacklogDebugger, getDefaultBacklogTracer, getDefaultFactoryFinder, getDefaultTracer, getDelayer, getEndpoint, getEndpoint, getEndpointKey, getEndpointKey, getEndpointMap, getEndpoints, getErrorHandlerBuilder, getErrorHandlerExecutorService, getExecutorServiceManager, getExecutorServiceStrategy, getFactoryFinder, getInflightRepository, getInjector, getInterceptStrategies, getLanguageNames, getLanguageResolver, getLifecycleStrategies, getManagementMBeanAssembler, getManagementName, getManagementNameStrategy, getManagementStrategy, getName, getNameStrategy, getNodeIdFactory, getPackageScanClassResolver, getProcessorFactory, getProducerServicePool, getProperties, getPropertiesComponent, getProperty, getPropertyPrefixToken, getPropertySuffixToken, getRegistry, getRegistry, getRoute, getRouteDefinition, getRouteDefinitions, getRoutes, getRouteServices, getRouteStartupOrder, getRouteStatus, getShutdownRoute, getShutdownRunningTask, getShutdownStrategy, getStreamCachingStrategy, getTypeConverter, getTypeConverterRegistry, getUnitOfWorkFactory, getUptime, getUuidGenerator, hasComponent, hasEndpoint, hasService, isAllowUseOriginalMessage, isAutoCreateComponents, isAutoStartup, isHandleFault, isLazyLoadTypeConverters, isMessageHistory, isStartingRoutes, isStreamCaching, isTracing, isTypeConverterStatisticsEnabled, isUseBreadcrumb, isUseMDCLogging, loadRoutesDefinition, logRouteState, lookupPropertiesComponent, normalizeEndpointUri, removeComponent, removeEndpoints, removeRoute, removeRouteDefinition, removeRouteDefinition, removeRouteDefinitions, removeService, resolveDataFormat, resolveDataFormatDefinition, resolveLanguage, resolvePropertyPlaceholders, resumeRoute, resumeRouteService, routeSupportsSuspension, safelyStartRouteServices, safelyStartRouteServices, setAllowUseOriginalMessage, setApplicationContextClassLoader, setAutoCreateComponents, setAutoStartup, setClassResolver, setComponentResolver, setContextCounter, setDataFormatResolver, setDataFormats, setDebugger, setDefaultBacklogDebugger, setDefaultBacklogTracer, setDefaultTracer, setDelayer, setErrorHandlerBuilder, setExecutorServiceManager, setFactoryFinderResolver, setHandleFault, setInflightRepository, setInjector, setInterceptStrategies, setJndiContext, setLanguageResolver, setLazyLoadTypeConverters, setLifecycleStrategies, setManagementMBeanAssembler, setManagementName, setManagementNameStrategy, setManagementStrategy, setMessageHistory, setNameStrategy, setNodeIdFactory, setPackageScanClassResolver, setProcessorFactory, setProducerServicePool, setProperties, setRegistry, setRoutes, setShutdownRoute, setShutdownRunningTask, setShutdownStrategy, setStreamCaching, setStreamCachingStrategy, setTracing, setTypeConverter, setTypeConverterRegistry, setTypeConverterStatisticsEnabled, setUnitOfWorkFactory, setUseBreadcrumb, setUseMDCLogging, setUuidGenerator, shouldStartRoutes, shutdownRoute, shutdownRoute, shutdownRouteService, start, startRoute, startRoute, startRouteDefinitions, startRouteService, stopRoute, stopRoute, stopRoute, stopRoute, stopRouteService, stopRouteService, suspendRoute, suspendRoute, suspendRouteService
 
Methods inherited from class org.apache.camel.support.ServiceSupport
doShutdown, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, resume, shutdown, stop, suspend
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.camel.CamelContext
getStatus, getVersion, stop
 
Methods inherited from interface org.apache.camel.SuspendableService
isSuspended, resume, suspend
 

Constructor Detail

OsgiSpringCamelContext

public OsgiSpringCamelContext(ApplicationContext applicationContext,
                              org.osgi.framework.BundleContext bundleContext)
Method Detail

createTypeConverter

protected org.apache.camel.TypeConverter createTypeConverter()
Overrides:
createTypeConverter in class org.apache.camel.impl.DefaultCamelContext

createRegistry

protected org.apache.camel.spi.Registry createRegistry()
Overrides:
createRegistry in class SpringCamelContext

setName

public void setName(String name)
Overrides:
setName in class org.apache.camel.impl.DefaultCamelContext


Apache Camel