|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.camel.impl.ServiceSupport
org.apache.camel.impl.DefaultEndpoint
org.apache.camel.component.cxf.CxfEndpoint
public class CxfEndpoint
Defines the CXF Endpoint.
It contains a list of properties for CXF endpoint including DataFormat,
CxfBinding, and HeaderFilterStrategy. The default DataFormat
mode is DataFormat.POJO.
| Field Summary | |
|---|---|
protected org.apache.cxf.Bus |
bus
|
| Constructor Summary | |
|---|---|
CxfEndpoint()
|
|
CxfEndpoint(String remaining)
|
|
CxfEndpoint(String remaining,
CamelContext context)
|
|
CxfEndpoint(String remaining,
CxfComponent cxfComponent)
|
|
| Method Summary | |
|---|---|
protected org.apache.cxf.frontend.ClientFactoryBean |
createClientFactoryBean()
Create a client factory bean object without serviceClass interface. |
protected org.apache.cxf.frontend.ClientFactoryBean |
createClientFactoryBean(Class<?> cls)
Create a client factory bean object. |
Consumer |
createConsumer(Processor processor)
Creates a new Event Driven Consumer which consumes messages from the endpoint using the given processor |
Producer |
createProducer()
Creates a new producer which is used send messages into the endpoint |
protected void |
doStart()
|
protected void |
doStop()
|
String |
getAddress()
|
String |
getBindingId()
|
org.apache.cxf.Bus |
getBus()
|
CxfBinding |
getCxfBinding()
|
DataFormat |
getDataFormat()
|
String |
getDefaultOperationName()
|
String |
getDefaultOperationNamespace()
|
List<org.apache.cxf.feature.AbstractFeature> |
getFeatures()
|
List<Handler> |
getHandlers()
|
HeaderFilterStrategy |
getHeaderFilterStrategy()
Gets the header filter strategy used |
List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> |
getInFaultInterceptors()
|
List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> |
getInInterceptors()
|
List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> |
getOutFaultInterceptors()
|
List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> |
getOutInterceptors()
|
QName |
getPortName()
|
Map<String,Object> |
getProperties()
|
String |
getPublishedEndpointUrl()
|
List<String> |
getSchemaLocations()
|
Class<?> |
getServiceClass()
|
QName |
getServiceName()
|
String |
getTransportId()
|
Boolean |
getWrappedStyle()
|
String |
getWsdlURL()
|
boolean |
isInOut()
|
boolean |
isLoggingFeatureEnabled()
|
boolean |
isMtomEnabled()
|
boolean |
isSetDefaultBus()
|
boolean |
isSingleton()
Whether this class supports being singleton or not. |
protected boolean |
isSkipPayloadMessagePartCheck()
|
boolean |
isWrapped()
|
protected String |
resolvePropertyPlaceholders(String str)
|
void |
setAddress(String address)
|
void |
setBindingId(String bindingId)
|
void |
setBus(org.apache.cxf.Bus bus)
|
void |
setCamelContext(CamelContext c)
Sets the camel context. |
void |
setCxfBinding(CxfBinding cxfBinding)
|
void |
setDataFormat(DataFormat format)
|
void |
setDefaultOperationName(String name)
|
void |
setDefaultOperationNamespace(String namespace)
|
void |
setEndpointName(QName port)
|
void |
setEndpointNameString(String port)
|
void |
setFeatures(List<org.apache.cxf.feature.AbstractFeature> f)
|
void |
setHandlers(List<Handler> h)
|
void |
setHeaderFilterStrategy(HeaderFilterStrategy headerFilterStrategy)
Sets the header filter strategy to use |
void |
setInFaultInterceptors(List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> interceptors)
|
void |
setInInterceptors(List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> interceptors)
|
void |
setInOut(boolean inOut)
|
void |
setLoggingFeatureEnabled(boolean loggingFeatureEnabled)
|
void |
setMtomEnabled(boolean mtomEnabled)
|
void |
setOutFaultInterceptors(List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> interceptors)
|
void |
setOutInterceptors(List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> interceptors)
|
void |
setPortName(QName port)
|
void |
setProperties(Map<String,Object> properties)
|
void |
setPublishedEndpointUrl(String url)
|
void |
setSchemaLocations(List<String> sc)
|
void |
setServiceClass(Class<?> cls)
|
void |
setServiceClass(Object instance)
|
void |
setServiceClass(String type)
|
void |
setServiceName(QName service)
|
void |
setServiceNameString(String service)
|
void |
setSetDefaultBus(boolean isSetDefaultBus)
|
protected void |
setSkipPayloadMessagePartCheck(boolean skipPayloadMessagePartCheck)
|
void |
setTransportId(String transportId)
|
protected void |
setupClientFactoryBean(org.apache.cxf.frontend.ClientFactoryBean factoryBean,
Class<?> cls)
|
protected void |
setupHandlers(org.apache.cxf.frontend.ClientFactoryBean factoryBean,
org.apache.cxf.endpoint.Client client)
|
protected void |
setupServerFactoryBean(org.apache.cxf.frontend.ServerFactoryBean sfb,
Class<?> cls)
Populate server factory bean |
void |
setWrapped(boolean wrapped)
|
void |
setWrappedStyle(Boolean wrapped)
|
void |
setWsdlURL(String url)
|
protected void |
updateEndpointUri(String endpointUri)
|
| Methods inherited from class org.apache.camel.impl.DefaultEndpoint |
|---|
configureProperties, createEndpointUri, createExchange, createExchange, createExchange, createPollingConsumer, equals, getCamelContext, getComponent, getEndpointKey, getEndpointUri, getExchangePattern, getExchangeType, getId, hashCode, isLenientProperties, isSynchronous, setEndpointUri, setEndpointUriIfNotSpecified, setExchangePattern, setSynchronous, toString |
| Methods inherited from class org.apache.camel.impl.ServiceSupport |
|---|
addChildService, doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isSuspended, isSuspending, removeChildService, resume, shutdown, start, start, stop, suspend |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.apache.camel.Service |
|---|
start, stop |
| Field Detail |
|---|
protected org.apache.cxf.Bus bus
| Constructor Detail |
|---|
public CxfEndpoint(String remaining,
CxfComponent cxfComponent)
public CxfEndpoint(String remaining,
CamelContext context)
public CxfEndpoint(String remaining)
public CxfEndpoint()
| Method Detail |
|---|
protected void updateEndpointUri(String endpointUri)
public Producer createProducer()
throws Exception
Endpoint
createProducer in interface EndpointException - can be thrown
public Consumer createConsumer(Processor processor)
throws Exception
Endpoint
createConsumer in interface Endpointprocessor - the given processor
Exception - can be thrownpublic boolean isSingleton()
IsSingleton
isSingleton in interface IsSingleton
protected void setupServerFactoryBean(org.apache.cxf.frontend.ServerFactoryBean sfb,
Class<?> cls)
protected org.apache.cxf.frontend.ClientFactoryBean createClientFactoryBean(Class<?> cls)
throws CamelException
CamelExceptionprotected org.apache.cxf.frontend.ClientFactoryBean createClientFactoryBean()
protected void setupHandlers(org.apache.cxf.frontend.ClientFactoryBean factoryBean,
org.apache.cxf.endpoint.Client client)
protected void setupClientFactoryBean(org.apache.cxf.frontend.ClientFactoryBean factoryBean,
Class<?> cls)
protected String resolvePropertyPlaceholders(String str)
public DataFormat getDataFormat()
public void setDataFormat(DataFormat format)
public String getPublishedEndpointUrl()
public void setPublishedEndpointUrl(String url)
public String getWsdlURL()
public void setWsdlURL(String url)
public Class<?> getServiceClass()
public void setServiceClass(Class<?> cls)
public void setServiceClass(Object instance)
public void setServiceClass(String type)
throws ClassNotFoundException
ClassNotFoundExceptionpublic void setServiceNameString(String service)
public void setServiceName(QName service)
public QName getServiceName()
public QName getPortName()
public void setPortName(QName port)
public void setEndpointNameString(String port)
public void setEndpointName(QName port)
public String getDefaultOperationName()
public void setDefaultOperationName(String name)
public String getDefaultOperationNamespace()
public void setDefaultOperationNamespace(String namespace)
public boolean isInOut()
public void setInOut(boolean inOut)
public boolean isWrapped()
public void setWrapped(boolean wrapped)
public Boolean getWrappedStyle()
public void setWrappedStyle(Boolean wrapped)
public void setCxfBinding(CxfBinding cxfBinding)
public CxfBinding getCxfBinding()
public void setHeaderFilterStrategy(HeaderFilterStrategy headerFilterStrategy)
HeaderFilterStrategyAware
setHeaderFilterStrategy in interface HeaderFilterStrategyAwareheaderFilterStrategy - the strategypublic HeaderFilterStrategy getHeaderFilterStrategy()
HeaderFilterStrategyAware
getHeaderFilterStrategy in interface HeaderFilterStrategyAwarepublic void setBus(org.apache.cxf.Bus bus)
public org.apache.cxf.Bus getBus()
public void setSetDefaultBus(boolean isSetDefaultBus)
public boolean isSetDefaultBus()
public void setLoggingFeatureEnabled(boolean loggingFeatureEnabled)
public boolean isLoggingFeatureEnabled()
protected boolean isSkipPayloadMessagePartCheck()
protected void setSkipPayloadMessagePartCheck(boolean skipPayloadMessagePartCheck)
public Map<String,Object> getProperties()
public void setCamelContext(CamelContext c)
Endpoint
setCamelContext in interface CamelContextAwaresetCamelContext in interface EndpointsetCamelContext in class DefaultEndpointc - the camel contextpublic void setProperties(Map<String,Object> properties)
protected void doStart()
throws Exception
doStart in class DefaultEndpointException
protected void doStop()
throws Exception
doStop in class DefaultEndpointExceptionpublic void setAddress(String address)
public String getAddress()
public void setMtomEnabled(boolean mtomEnabled)
public boolean isMtomEnabled()
public List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> getOutFaultInterceptors()
public List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> getInFaultInterceptors()
public List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> getInInterceptors()
public List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> getOutInterceptors()
public void setInInterceptors(List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> interceptors)
public void setInFaultInterceptors(List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> interceptors)
public void setOutInterceptors(List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> interceptors)
public void setOutFaultInterceptors(List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> interceptors)
public void setFeatures(List<org.apache.cxf.feature.AbstractFeature> f)
public List<org.apache.cxf.feature.AbstractFeature> getFeatures()
public void setHandlers(List<Handler> h)
public List<Handler> getHandlers()
public void setSchemaLocations(List<String> sc)
public List<String> getSchemaLocations()
public String getTransportId()
public void setTransportId(String transportId)
public String getBindingId()
public void setBindingId(String bindingId)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||