Class CxfSpringEndpoint

  • All Implemented Interfaces:
    AutoCloseable, Cloneable, org.apache.camel.AsyncEndpoint, org.apache.camel.CamelContextAware, org.apache.camel.Endpoint, org.apache.camel.IsSingleton, org.apache.camel.Service, org.apache.camel.ShutdownableService, org.apache.camel.spi.HasId, org.apache.camel.spi.HeaderFilterStrategyAware, org.apache.camel.StatefulService, org.apache.camel.SuspendableService, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

    public class CxfSpringEndpoint
    extends org.apache.camel.component.cxf.jaxws.CxfEndpoint
    implements org.springframework.context.ApplicationContextAware
    Defines the CXF Endpoint
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.apache.camel.component.cxf.jaxws.CxfEndpoint

        org.apache.camel.component.cxf.jaxws.CxfEndpoint.CamelCxfClientImpl
    • Field Summary

      • Fields inherited from class org.apache.camel.component.cxf.jaxws.CxfEndpoint

        bus, createBus, defaultBus, getBusHasBeenCalled
      • Fields inherited from class org.apache.camel.support.service.BaseService

        BUILT, FAILED, INITIALIZED, INITIALIZING, lock, NEW, SHUTDOWN, SHUTTING_DOWN, STARTED, STARTING, status, STOPPED, STOPPING, SUSPENDED, SUSPENDING
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.apache.cxf.endpoint.Client createClient()
      Create a CXF Client
      protected org.apache.cxf.frontend.ServerFactoryBean createServerFactoryBean()
      Create a service factory bean
      org.springframework.context.ApplicationContext getApplicationContext()  
      String getBeanId()  
      org.apache.cxf.Bus getBus()  
      String getEndpointLocalName()  
      String getEndpointNamespace()  
      String getServiceLocalName()  
      String getServiceNamespace()  
      void setApplicationContext​(org.springframework.context.ApplicationContext ctx)  
      void setBeanId​(String id)  
      void setEndpointLocalName​(String endpointLocalName)  
      void setEndpointNamespace​(String endpointNamespace)  
      void setServiceLocalName​(String serviceLocalName)  
      void setServiceNamespace​(String serviceNamespace)  
      • Methods inherited from class org.apache.camel.component.cxf.jaxws.CxfEndpoint

        checkName, copy, createClientFactoryBean, createClientFactoryBean, createConsumer, createProducer, doInit, doStop, getAddress, getAllowStreaming, getBindingConfig, getBindingId, getChainedCxfConfigurer, getContinuationTimeout, getCookieHandler, getCxfBinding, getCxfConfigurer, getDataBinding, getDataFormat, getDefaultOperationName, getDefaultOperationNamespace, getFeatures, getHandlers, getHeaderFilterStrategy, getHostnameVerifier, getInFaultInterceptors, getInInterceptors, getLoggingSizeLimit, getOutFaultInterceptors, getOutInterceptors, getPassword, getPortName, getPortNameAsQName, getProperties, getPublishedEndpointUrl, getSchemaLocations, getSchemaValidationEnabled, getServiceClass, getServiceFactoryBean, getServiceName, getServiceNameAsQName, getSslContextParameters, getTransportId, getUsername, getWrappedStyle, getWsdlURL, isDefaultBus, isLoggingFeatureEnabled, isMergeProtocolHeaders, isMtomEnabled, isSkipFaultLogging, isSkipPayloadMessagePartCheck, isSynchronous, isWrapped, resolvePropertyPlaceholders, setAddress, setAllowStreaming, setBindingConfig, setBindingId, setBus, setCamelContext, setContinuationTimeout, setCookieHandler, setCxfBinding, setCxfConfigurer, setDataBinding, setDataFormat, setDefaultBus, setDefaultOperationName, setDefaultOperationNamespace, setEndpointName, setEndpointNameAsQName, setFeatures, setHandlers, setHeaderFilterStrategy, setHostnameVerifier, setInFaultInterceptors, setInInterceptors, setLoggingFeatureEnabled, setLoggingSizeLimit, setMergeProtocolHeaders, setMtomEnabled, setOutFaultInterceptors, setOutInterceptors, setPassword, setPortName, setPortNameAsQName, setProperties, setPublishedEndpointUrl, setSchemaLocations, setSchemaValidationEnabled, setServiceClass, setServiceClass, setServiceClass, setServiceFactory, setServiceFactoryBean, setServiceName, setServiceNameAsQName, setSkipFaultLogging, setSkipPayloadMessagePartCheck, setSslContextParameters, setSynchronous, setTransportId, setupClientFactoryBean, setupHandlers, setupServerFactoryBean, setUsername, setWrapped, setWrappedStyle, setWsdlURL, updateEndpointUri
      • Methods inherited from class org.apache.camel.support.DefaultEndpoint

        configureConsumer, configureExchange, configurePollingConsumer, configureProperties, createAsyncProducer, createEndpointUri, createExchange, createExchange, createPollingConsumer, doStart, equals, getCamelContext, getComponent, getEndpointKey, getEndpointUri, getExceptionHandler, getExchangePattern, getId, getPollingConsumerBlockTimeout, getPollingConsumerQueueSize, hashCode, isAutowiredEnabled, isBridgeErrorHandler, isLazyStartProducer, isLenientProperties, isPollingConsumerBlockWhenFull, isPollingConsumerCopy, isSingleton, setAutowiredEnabled, setBridgeErrorHandler, setComponent, setEndpointUri, setEndpointUriIfNotSpecified, setExceptionHandler, setExchangePattern, setLazyStartProducer, setPollingConsumerBlockTimeout, setPollingConsumerBlockWhenFull, setPollingConsumerCopy, setPollingConsumerQueueSize, setProperties, toString
      • Methods inherited from class org.apache.camel.support.service.BaseService

        build, doBuild, doFail, doLifecycleChange, doResume, doShutdown, doSuspend, fail, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspend
      • Methods inherited from interface org.apache.camel.Endpoint

        configureExchange, configureProperties, createAsyncProducer, createExchange, createExchange, createPollingConsumer, getCamelContext, getEndpointBaseUri, getEndpointKey, getEndpointUri, getExchangePattern, isLenientProperties, isSingletonProducer
      • Methods inherited from interface org.apache.camel.IsSingleton

        isSingleton
      • Methods inherited from interface org.apache.camel.Service

        build, close, init, start, stop
      • Methods inherited from interface org.apache.camel.ShutdownableService

        shutdown
      • Methods inherited from interface org.apache.camel.StatefulService

        getStatus, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isSuspending
      • Methods inherited from interface org.apache.camel.SuspendableService

        isSuspended, resume, suspend
    • Constructor Detail

      • CxfSpringEndpoint

        public CxfSpringEndpoint​(org.apache.camel.component.cxf.jaxws.CxfComponent component,
                                 String address)
      • CxfSpringEndpoint

        public CxfSpringEndpoint()
    • Method Detail

      • createClient

        public org.apache.cxf.endpoint.Client createClient()
                                                    throws Exception
        Create a CXF Client
        Overrides:
        createClient in class org.apache.camel.component.cxf.jaxws.CxfEndpoint
        Throws:
        Exception
      • createServerFactoryBean

        protected org.apache.cxf.frontend.ServerFactoryBean createServerFactoryBean()
                                                                             throws Exception
        Create a service factory bean
        Overrides:
        createServerFactoryBean in class org.apache.camel.component.cxf.jaxws.CxfEndpoint
        Throws:
        Exception
      • getBeanId

        public String getBeanId()
        Overrides:
        getBeanId in class org.apache.camel.component.cxf.jaxws.CxfEndpoint
      • setBeanId

        public void setBeanId​(String id)
        Overrides:
        setBeanId in class org.apache.camel.component.cxf.jaxws.CxfEndpoint
      • setServiceNamespace

        public void setServiceNamespace​(String serviceNamespace)
      • getServiceNamespace

        public String getServiceNamespace()
      • setServiceLocalName

        public void setServiceLocalName​(String serviceLocalName)
      • getServiceLocalName

        public String getServiceLocalName()
      • getEndpointLocalName

        public String getEndpointLocalName()
      • setEndpointLocalName

        public void setEndpointLocalName​(String endpointLocalName)
      • setEndpointNamespace

        public void setEndpointNamespace​(String endpointNamespace)
      • getEndpointNamespace

        public String getEndpointNamespace()
      • setApplicationContext

        public void setApplicationContext​(org.springframework.context.ApplicationContext ctx)
                                   throws org.springframework.beans.BeansException
        Specified by:
        setApplicationContext in interface org.springframework.context.ApplicationContextAware
        Throws:
        org.springframework.beans.BeansException
      • getApplicationContext

        public org.springframework.context.ApplicationContext getApplicationContext()
      • getBus

        public org.apache.cxf.Bus getBus()
        Overrides:
        getBus in class org.apache.camel.component.cxf.jaxws.CxfEndpoint