Class CamelTransportFactory
- java.lang.Object
-
- org.apache.cxf.transport.AbstractTransportFactory
-
- org.apache.camel.component.cxf.transport.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
-
-
Field Summary
Fields Modifier and Type Field Description static List<String>
DEFAULT_NAMESPACES
static String
TRANSPORT_ID
-
Constructor Summary
Constructors Constructor Description CamelTransportFactory()
CamelTransportFactory(org.apache.cxf.Bus b)
-
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
-
-
-
-
Field Detail
-
TRANSPORT_ID
public static final String TRANSPORT_ID
- See Also:
- Constant Field Values
-
-
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 interfaceorg.apache.cxf.transport.ConduitInitiator
- Specified by:
getUriPrefixes
in interfaceorg.apache.cxf.transport.DestinationFactory
- Overrides:
getUriPrefixes
in classorg.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 interfaceorg.apache.camel.CamelContextAware
-
setCamelContext
public void setCamelContext(org.apache.camel.CamelContext c)
- Specified by:
setCamelContext
in interfaceorg.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 interfaceorg.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 interfaceorg.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 interfaceorg.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()
-
-