|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.servicemix.common.Endpoint
org.apache.servicemix.common.endpoints.SimpleEndpoint
org.apache.servicemix.common.endpoints.ConsumerEndpoint
org.apache.servicemix.cxfbc.CxfBcConsumer
public class CxfBcConsumer
| Nested Class Summary | |
|---|---|
protected class |
CxfBcConsumer.JbiChainInitiationObserver
|
class |
CxfBcConsumer.JbiInvokerInterceptor
|
protected class |
CxfBcConsumer.JbiPostInvokerInterceptor
|
| Field Summary |
|---|
| Fields inherited from class org.apache.servicemix.common.Endpoint |
|---|
definition, description, endpoint, interfaceName, logger, service, serviceUnit |
| Constructor Summary | |
|---|---|
CxfBcConsumer()
|
|
| Method Summary | |
|---|---|
protected org.apache.cxf.Bus |
getBus()
|
String |
getBusCfg()
|
List<org.apache.cxf.feature.AbstractFeature> |
getFeatures()
|
List<org.apache.cxf.interceptor.Interceptor> |
getInFaultInterceptors()
Returns the list of interceptors used to process fault messages being recieved by the endpoint. |
List<org.apache.cxf.interceptor.Interceptor> |
getInInterceptors()
Returns the list of interceptors used to process responses being recieved by the endpoint. |
String |
getLocationURI()
|
List<org.apache.cxf.interceptor.Interceptor> |
getOutFaultInterceptors()
Returns the list of interceptors used to process fault messages being sent to the provider. |
List<org.apache.cxf.interceptor.Interceptor> |
getOutInterceptors()
Returns the list of interceptors used to process requests being sent to the provider. |
int |
getTimeout()
|
org.springframework.core.io.Resource |
getWsdl()
|
boolean |
isMtomEnabled()
|
boolean |
isSynchronous()
|
boolean |
isUseJBIWrapper()
|
boolean |
isUseSOAPEnvelope()
|
void |
process(MessageExchange exchange)
|
void |
setBusCfg(String busCfg)
Specifies the location of the CXF configuraiton file used to configure the CXF bus. |
void |
setFeatures(List<org.apache.cxf.feature.AbstractFeature> features)
|
void |
setInFaultInterceptors(List<org.apache.cxf.interceptor.Interceptor> interceptors)
Specifies a list of interceptors used to process faults recieved by the endpoint. |
void |
setInInterceptors(List<org.apache.cxf.interceptor.Interceptor> interceptors)
Specifies a list of interceptors used to process responses recieved by the endpoint. |
void |
setLocationURI(String locationURI)
Specifies the HTTP address to which requests are sent. |
void |
setMtomEnabled(boolean mtomEnabled)
Specifies if the endpoint can support binnary attachments. |
void |
setOutFaultInterceptors(List<org.apache.cxf.interceptor.Interceptor> interceptors)
Specifies a list of interceptors used to process faults sent by the endpoint. |
void |
setOutInterceptors(List<org.apache.cxf.interceptor.Interceptor> interceptors)
Specifies a list of interceptors used to process requests sent by the endpoint. |
void |
setSynchronous(boolean synchronous)
Specifies if the endpoint expects send messageExchange by sendSync |
void |
setTimeout(int timeout)
Specifies the interval for which the endpoint will wait for a response, This is specified in seconds. |
void |
setUseJBIWrapper(boolean useJBIWrapper)
Specifies if the endpoint expects messages to use the JBI wrapper for SOAP messages. |
void |
setUseSOAPEnvelope(boolean useSOAPEnvelope)
Specifies if the endpoint expects soap messages when useJBIWrapper is false, if useJBIWrapper is true then ignore useSOAPEnvelope |
void |
setWsdl(org.springframework.core.io.Resource wsdl)
Specifies the location of the WSDL defining the endpoint's interface. |
void |
start()
|
void |
stop()
|
void |
validate()
|
| Methods inherited from class org.apache.servicemix.common.endpoints.ConsumerEndpoint |
|---|
configureExchangeTarget, getRole, getTargetEndpoint, getTargetInterface, getTargetOperation, getTargetService, getTargetUri, setTargetEndpoint, setTargetInterface, setTargetOperation, setTargetService, setTargetUri |
| Methods inherited from class org.apache.servicemix.common.endpoints.SimpleEndpoint |
|---|
activate, deactivate, done, fail, getChannel, getContext, getExchangeFactory, getProcessor, send, sendSync |
| Methods inherited from class org.apache.servicemix.common.Endpoint |
|---|
getDefinition, getDescription, getEndpoint, getInterfaceName, getKey, getService, getServiceUnit, isExchangeOkay, setDefinition, setDescription, setEndpoint, setInterfaceName, setService, setServiceUnit, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CxfBcConsumer()
| Method Detail |
|---|
public org.springframework.core.io.Resource getWsdl()
public void setWsdl(org.springframework.core.io.Resource wsdl)
wsdl - the location of the WSDL contract as a Resource
objectpublic List<org.apache.cxf.interceptor.Interceptor> getOutFaultInterceptors()
getOutFaultInterceptors in interface CxfBcEndpointWithInterceptorInterceptor objectspublic List<org.apache.cxf.interceptor.Interceptor> getInFaultInterceptors()
getInFaultInterceptors in interface CxfBcEndpointWithInterceptorInterceptor objectspublic List<org.apache.cxf.interceptor.Interceptor> getInInterceptors()
getInInterceptors in interface CxfBcEndpointWithInterceptorInterceptor objectspublic List<org.apache.cxf.interceptor.Interceptor> getOutInterceptors()
getOutInterceptors in interface CxfBcEndpointWithInterceptorInterceptor objectspublic void setInInterceptors(List<org.apache.cxf.interceptor.Interceptor> interceptors)
setInInterceptors in interface CxfBcEndpointWithInterceptorinterceptors - a list of Interceptor objectspublic void setInFaultInterceptors(List<org.apache.cxf.interceptor.Interceptor> interceptors)
setInFaultInterceptors in interface CxfBcEndpointWithInterceptorinterceptors - a list of Interceptor objectspublic void setOutInterceptors(List<org.apache.cxf.interceptor.Interceptor> interceptors)
setOutInterceptors in interface CxfBcEndpointWithInterceptorinterceptors - a list of Interceptor objectspublic void setOutFaultInterceptors(List<org.apache.cxf.interceptor.Interceptor> interceptors)
setOutFaultInterceptors in interface CxfBcEndpointWithInterceptorinterceptors - a list of Interceptor objects
public void process(MessageExchange exchange)
throws Exception
process in interface ExchangeProcessorException
public void start()
throws Exception
start in interface ExchangeProcessorstart in class ConsumerEndpointException
public void stop()
throws Exception
stop in interface ExchangeProcessorstop in class ConsumerEndpointException
public void validate()
throws DeploymentException
validate in class ConsumerEndpointDeploymentExceptionprotected org.apache.cxf.Bus getBus()
public void setLocationURI(String locationURI)
locationURI - the URI as a stringpublic String getLocationURI()
getLocationURI in class ConsumerEndpointpublic void setBusCfg(String busCfg)
busCfg - a string containing the relative path to the configuration
filepublic String getBusCfg()
public void setMtomEnabled(boolean mtomEnabled)
mtomEnabled - a booleanpublic boolean isMtomEnabled()
public void setTimeout(int timeout)
timeout - the number of second to wait for a responsepublic int getTimeout()
public void setUseJBIWrapper(boolean useJBIWrapper)
useJBIWrapper - a booleanpublic boolean isUseJBIWrapper()
public void setUseSOAPEnvelope(boolean useSOAPEnvelope)
public boolean isUseSOAPEnvelope()
public void setSynchronous(boolean synchronous)
synchronous - a booleanpublic boolean isSynchronous()
public void setFeatures(List<org.apache.cxf.feature.AbstractFeature> features)
public List<org.apache.cxf.feature.AbstractFeature> getFeatures()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||