|
||||||||||
| 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.
| Constructor Summary | |
|---|---|
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.ClientProxyFactoryBean |
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 org.apache.cxf.Bus |
doGetBus()
|
protected void |
doStart()
|
protected void |
doStop()
|
String |
getAddress()
|
org.apache.cxf.Bus |
getBus()
|
CxfBinding |
getCxfBinding()
|
DataFormat |
getDataFormat()
|
String |
getDefaultOperationName()
|
String |
getDefaultOperationNamespace()
|
HeaderFilterStrategy |
getHeaderFilterStrategy()
Gets the header filter strategy used |
String |
getPortName()
|
Map<String,Object> |
getProperties()
|
String |
getPublishedEndpointUrl()
|
String |
getServiceClass()
|
String |
getServiceName()
|
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()
|
void |
setAddress(String address)
|
void |
setBus(org.apache.cxf.Bus bus)
|
void |
setCxfBinding(CxfBinding cxfBinding)
|
void |
setDataFormat(DataFormat format)
|
void |
setDefaultOperationName(String name)
|
void |
setDefaultOperationNamespace(String namespace)
|
void |
setHeaderFilterStrategy(HeaderFilterStrategy headerFilterStrategy)
Sets the header filter strategy to use |
void |
setInOut(boolean inOut)
|
void |
setLoggingFeatureEnabled(boolean loggingFeatureEnabled)
|
void |
setMtomEnabled(boolean mtomEnabled)
|
void |
setPortName(String port)
|
void |
setProperties(Map<String,Object> properties)
|
void |
setPublishedEndpointUrl(String url)
|
void |
setServiceClass(Object instance)
|
void |
setServiceClass(String className)
|
void |
setServiceName(String service)
|
void |
setSetDefaultBus(boolean isSetDefaultBus)
|
protected void |
setSkipPayloadMessagePartCheck(boolean skipPayloadMessagePartCheck)
|
protected void |
setupClientFactoryBean(org.apache.cxf.frontend.ClientFactoryBean factoryBean)
|
protected void |
setupClientFactoryBean(org.apache.cxf.frontend.ClientProxyFactoryBean factoryBean,
Class<?> cls)
Populate a client factory bean |
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, sanitizeUri, setCamelContext, 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 |
| Constructor Detail |
|---|
public CxfEndpoint(String remaining,
CxfComponent cxfComponent)
public CxfEndpoint(String remaining,
CamelContext context)
| 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.ClientProxyFactoryBean createClientFactoryBean(Class<?> cls)
throws CamelException
CamelExceptionprotected org.apache.cxf.frontend.ClientFactoryBean createClientFactoryBean()
protected org.apache.cxf.Bus doGetBus()
protected void setupClientFactoryBean(org.apache.cxf.frontend.ClientProxyFactoryBean factoryBean,
Class<?> cls)
protected void setupClientFactoryBean(org.apache.cxf.frontend.ClientFactoryBean factoryBean)
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 String getServiceClass()
public void setServiceClass(String className)
public void setServiceClass(Object instance)
public void setServiceName(String service)
public String getServiceName()
public String getPortName()
public void setPortName(String 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 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()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||