public class CxfRsEndpoint
extends org.apache.camel.impl.DefaultEndpoint
implements org.apache.camel.spi.HeaderFilterStrategyAware, org.apache.camel.Service
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.cxf.Bus |
bus |
| Constructor and Description |
|---|
CxfRsEndpoint(String endpointUri,
org.apache.camel.CamelContext camelContext)
Deprecated.
|
CxfRsEndpoint(String endpointUri,
org.apache.camel.Component component) |
| Modifier and Type | Method and Description |
|---|---|
void |
addResourceClass(Class<?> resourceClass) |
protected void |
checkBeanType(Object object,
Class<?> clazz) |
org.apache.camel.Consumer |
createConsumer(org.apache.camel.Processor processor) |
org.apache.cxf.jaxrs.client.JAXRSClientFactoryBean |
createJAXRSClientFactoryBean() |
org.apache.cxf.jaxrs.client.JAXRSClientFactoryBean |
createJAXRSClientFactoryBean(String address) |
org.apache.cxf.jaxrs.JAXRSServerFactoryBean |
createJAXRSServerFactoryBean() |
org.apache.camel.Producer |
createProducer() |
protected void |
doStart() |
protected void |
doStop() |
String |
getAddress() |
CxfRsBinding |
getBinding() |
org.apache.cxf.Bus |
getBus() |
org.apache.camel.spi.HeaderFilterStrategy |
getHeaderFilterStrategy() |
int |
getLoggingSizeLimit() |
int |
getMaxClientCacheSize() |
Map<String,String> |
getParameters() |
List<Class<?>> |
getResourceClasses() |
boolean |
isHttpClientAPI() |
boolean |
isLenientProperties() |
boolean |
isLoggingFeatureEnabled() |
boolean |
isSetDefaultBus() |
boolean |
isSingleton() |
boolean |
isThrowExceptionOnFailure() |
protected org.apache.cxf.jaxrs.client.JAXRSClientFactoryBean |
newJAXRSClientFactoryBean() |
protected org.apache.cxf.jaxrs.JAXRSServerFactoryBean |
newJAXRSServerFactoryBean() |
protected String |
resolvePropertyPlaceholders(String str) |
void |
setAddress(String address) |
void |
setBinding(CxfRsBinding binding) |
void |
setBus(org.apache.cxf.Bus bus) |
void |
setHeaderFilterStrategy(org.apache.camel.spi.HeaderFilterStrategy strategy) |
void |
setHttpClientAPI(boolean clientAPI) |
void |
setLoggingFeatureEnabled(boolean loggingFeatureEnabled) |
void |
setLoggingSizeLimit(int loggingSizeLimit) |
void |
setMaxClientCacheSize(int maxClientCacheSize) |
void |
setParameters(Map<String,String> param) |
void |
setResourceClasses(Class<?>... classes) |
void |
setResourceClasses(List<Class<?>> resourceClasses) |
void |
setSetDefaultBus(boolean isSetDefaultBus) |
void |
setThrowExceptionOnFailure(boolean throwExceptionOnFailure) |
protected void |
setupJAXRSClientFactoryBean(org.apache.cxf.jaxrs.client.JAXRSClientFactoryBean cfb,
String address) |
protected void |
setupJAXRSServerFactoryBean(org.apache.cxf.jaxrs.JAXRSServerFactoryBean sfb) |
protected void |
updateEndpointUri(String endpointUri) |
configureConsumer, configureProperties, createEndpointConfiguration, createEndpointUri, createExchange, createExchange, createExchange, createPollingConsumer, equals, getCamelContext, getComponent, getConsumerProperties, getEndpointConfiguration, getEndpointKey, getEndpointUri, getExchangePattern, getId, hashCode, isSynchronous, setCamelContext, setConsumerProperties, setEndpointConfiguration, setEndpointUri, setEndpointUriIfNotSpecified, setExchangePattern, setSynchronous, toStringdoResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isSuspended, isSuspending, resume, shutdown, start, stop, suspend@Deprecated public CxfRsEndpoint(String endpointUri, org.apache.camel.CamelContext camelContext)
public CxfRsEndpoint(String endpointUri, org.apache.camel.Component component)
protected void updateEndpointUri(String endpointUri)
public void setHttpClientAPI(boolean clientAPI)
public boolean isHttpClientAPI()
public boolean isLenientProperties()
isLenientProperties in interface org.apache.camel.EndpointisLenientProperties in class org.apache.camel.impl.DefaultEndpointpublic org.apache.camel.spi.HeaderFilterStrategy getHeaderFilterStrategy()
getHeaderFilterStrategy in interface org.apache.camel.spi.HeaderFilterStrategyAwarepublic void setHeaderFilterStrategy(org.apache.camel.spi.HeaderFilterStrategy strategy)
setHeaderFilterStrategy in interface org.apache.camel.spi.HeaderFilterStrategyAwarepublic org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor)
throws Exception
createConsumer in interface org.apache.camel.EndpointExceptionpublic org.apache.camel.Producer createProducer()
throws Exception
createProducer in interface org.apache.camel.EndpointExceptionpublic boolean isSingleton()
isSingleton in interface org.apache.camel.IsSingletonpublic void setBinding(CxfRsBinding binding)
public CxfRsBinding getBinding()
protected void setupJAXRSServerFactoryBean(org.apache.cxf.jaxrs.JAXRSServerFactoryBean sfb)
protected void setupJAXRSClientFactoryBean(org.apache.cxf.jaxrs.client.JAXRSClientFactoryBean cfb,
String address)
protected org.apache.cxf.jaxrs.JAXRSServerFactoryBean newJAXRSServerFactoryBean()
protected org.apache.cxf.jaxrs.client.JAXRSClientFactoryBean newJAXRSClientFactoryBean()
public org.apache.cxf.jaxrs.JAXRSServerFactoryBean createJAXRSServerFactoryBean()
public org.apache.cxf.jaxrs.client.JAXRSClientFactoryBean createJAXRSClientFactoryBean()
public org.apache.cxf.jaxrs.client.JAXRSClientFactoryBean createJAXRSClientFactoryBean(String address)
public void addResourceClass(Class<?> resourceClass)
public void setResourceClasses(Class<?>... classes)
public void setAddress(String address)
public String getAddress()
public boolean isLoggingFeatureEnabled()
public void setLoggingFeatureEnabled(boolean loggingFeatureEnabled)
public int getLoggingSizeLimit()
public void setLoggingSizeLimit(int loggingSizeLimit)
public boolean isThrowExceptionOnFailure()
public void setThrowExceptionOnFailure(boolean throwExceptionOnFailure)
public void setMaxClientCacheSize(int maxClientCacheSize)
maxClientCacheSize - the maxClientCacheSize to setpublic int getMaxClientCacheSize()
public void setBus(org.apache.cxf.Bus bus)
public org.apache.cxf.Bus getBus()
public void setSetDefaultBus(boolean isSetDefaultBus)
public boolean isSetDefaultBus()
protected void doStart()
throws Exception
doStart in class org.apache.camel.impl.DefaultEndpointExceptionApache CAMEL