Class CamelTransportFactory

  • All Implemented Interfaces:
    org.apache.camel.CamelContextAware, org.apache.cxf.transport.ConduitInitiator, org.apache.cxf.transport.DestinationFactory

    public class CamelTransportFactory
    extends org.apache.cxf.transport.AbstractTransportFactory
    implements org.apache.cxf.transport.ConduitInitiator, org.apache.cxf.transport.DestinationFactory, org.apache.camel.CamelContextAware
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.apache.camel.CamelContext getCamelContext()  
      org.apache.cxf.transport.Conduit getConduit​(org.apache.cxf.service.model.EndpointInfo targetInfo)  
      org.apache.cxf.transport.Conduit getConduit​(org.apache.cxf.service.model.EndpointInfo targetInfo, org.apache.cxf.Bus b)  
      org.apache.cxf.transport.Conduit getConduit​(org.apache.cxf.service.model.EndpointInfo endpointInfo, org.apache.cxf.ws.addressing.EndpointReferenceType target)  
      org.apache.cxf.transport.Conduit getConduit​(org.apache.cxf.service.model.EndpointInfo localInfo, org.apache.cxf.ws.addressing.EndpointReferenceType target, org.apache.cxf.Bus b)  
      org.apache.cxf.transport.Destination getDestination​(org.apache.cxf.service.model.EndpointInfo endpointInfo)  
      org.apache.cxf.transport.Destination getDestination​(org.apache.cxf.service.model.EndpointInfo ei, org.apache.cxf.Bus b)  
      org.apache.camel.spi.HeaderFilterStrategy getHeaderFilterStrategy()  
      Set<String> getUriPrefixes()  
      boolean isCheckException()  
      void registerFactory()  
      void setBus​(org.apache.cxf.Bus b)  
      void setCamelContext​(org.apache.camel.CamelContext c)  
      void setCheckException​(boolean check)  
      void setHeaderFilterStrategy​(org.apache.camel.spi.HeaderFilterStrategy headerFilterStrategy)  
      void unregisterFactory()  
      • Methods inherited from class org.apache.cxf.transport.AbstractTransportFactory

        getTransportIds, setTransportIds
      • Methods inherited from interface org.apache.cxf.transport.ConduitInitiator

        getTransportIds
      • Methods inherited from interface org.apache.cxf.transport.DestinationFactory

        getTransportIds
    • Constructor Detail

      • CamelTransportFactory

        public CamelTransportFactory()
      • CamelTransportFactory

        public CamelTransportFactory​(org.apache.cxf.Bus b)
    • Method Detail

      • setCheckException

        public void setCheckException​(boolean check)
      • isCheckException

        public boolean isCheckException()
      • getConduit

        public org.apache.cxf.transport.Conduit getConduit​(org.apache.cxf.service.model.EndpointInfo targetInfo)
                                                    throws IOException
        Throws:
        IOException
      • getConduit

        public org.apache.cxf.transport.Conduit getConduit​(org.apache.cxf.service.model.EndpointInfo endpointInfo,
                                                           org.apache.cxf.ws.addressing.EndpointReferenceType target)
                                                    throws IOException
        Throws:
        IOException
      • getDestination

        public org.apache.cxf.transport.Destination getDestination​(org.apache.cxf.service.model.EndpointInfo endpointInfo)
                                                            throws IOException
        Throws:
        IOException
      • getUriPrefixes

        public Set<String> getUriPrefixes()
        Specified by:
        getUriPrefixes in interface org.apache.cxf.transport.ConduitInitiator
        Specified by:
        getUriPrefixes in interface org.apache.cxf.transport.DestinationFactory
        Overrides:
        getUriPrefixes in class org.apache.cxf.transport.AbstractTransportFactory
      • getHeaderFilterStrategy

        public org.apache.camel.spi.HeaderFilterStrategy getHeaderFilterStrategy()
      • setHeaderFilterStrategy

        public void setHeaderFilterStrategy​(org.apache.camel.spi.HeaderFilterStrategy headerFilterStrategy)
      • getCamelContext

        public org.apache.camel.CamelContext getCamelContext()
        Specified by:
        getCamelContext in interface org.apache.camel.CamelContextAware
      • setCamelContext

        public void setCamelContext​(org.apache.camel.CamelContext c)
        Specified by:
        setCamelContext in interface org.apache.camel.CamelContextAware
      • getDestination

        public org.apache.cxf.transport.Destination getDestination​(org.apache.cxf.service.model.EndpointInfo ei,
                                                                   org.apache.cxf.Bus b)
                                                            throws IOException
        Specified by:
        getDestination in interface org.apache.cxf.transport.DestinationFactory
        Throws:
        IOException
      • getConduit

        public org.apache.cxf.transport.Conduit getConduit​(org.apache.cxf.service.model.EndpointInfo targetInfo,
                                                           org.apache.cxf.Bus b)
                                                    throws IOException
        Specified by:
        getConduit in interface org.apache.cxf.transport.ConduitInitiator
        Throws:
        IOException
      • getConduit

        public org.apache.cxf.transport.Conduit getConduit​(org.apache.cxf.service.model.EndpointInfo localInfo,
                                                           org.apache.cxf.ws.addressing.EndpointReferenceType target,
                                                           org.apache.cxf.Bus b)
                                                    throws IOException
        Specified by:
        getConduit in interface org.apache.cxf.transport.ConduitInitiator
        Throws:
        IOException
      • setBus

        public void setBus​(org.apache.cxf.Bus b)
      • registerFactory

        public final void registerFactory()
      • unregisterFactory

        public final void unregisterFactory()