public class CxfBcConsumer extends ConsumerEndpoint implements CxfBcEndpointWithInterceptor
| Modifier and Type | Class and Description |
|---|---|
protected class |
CxfBcConsumer.JbiChainInitiationObserver |
class |
CxfBcConsumer.JbiInvokerInterceptor |
protected class |
CxfBcConsumer.JbiPostInvokerInterceptor |
loggerdefinition, description, endpoint, interfaceName, service, serviceUnit| Constructor and Description |
|---|
CxfBcConsumer() |
| Modifier and Type | Method and Description |
|---|---|
void |
activate() |
void |
deactivate() |
protected org.apache.cxf.Bus |
getBus() |
java.lang.String |
getBusCfg() |
java.util.List<org.apache.cxf.feature.AbstractFeature> |
getFeatures() |
java.util.List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> |
getInFaultInterceptors()
Returns the list of interceptors used to process fault messages being
recieved by the endpoint.
|
java.util.List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> |
getInInterceptors()
Returns the list of interceptors used to process responses being
recieved by the endpoint.
|
java.lang.String |
getJaasDomain() |
java.lang.String |
getLocationURI() |
java.util.List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> |
getOutFaultInterceptors()
Returns the list of interceptors used to process fault messages being
sent to the provider.
|
java.util.List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> |
getOutInterceptors()
Returns the list of interceptors used to process requests being
sent to the provider.
|
java.util.Map<java.lang.String,java.lang.Object> |
getProperties() |
org.apache.cxf.Bus |
getProvidedBus() |
long |
getTimeout() |
org.springframework.core.io.Resource |
getWsdl() |
boolean |
isDelegateToJaas() |
boolean |
isMtomEnabled() |
boolean |
isSchemaValidationEnabled() |
boolean |
isSynchronous() |
boolean |
isUseJBIWrapper() |
boolean |
isUseSOAPEnvelope() |
boolean |
isX509() |
void |
process(javax.jbi.messaging.MessageExchange exchange) |
void |
setBusCfg(java.lang.String busCfg)
Specifies the location of the CXF configuraiton file used to configure
the CXF bus.
|
void |
setDelegateToJaas(boolean delegateToJaas)
Specifies if the endpoint delegate to JAASAuthenticationService to do the authentication.
|
void |
setFeatures(java.util.List<org.apache.cxf.feature.AbstractFeature> features)
Specifies the cxf features set for this endpoint
|
void |
setInFaultInterceptors(java.util.List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> interceptors)
Specifies a list of interceptors used to process faults recieved by
the endpoint.
|
void |
setInInterceptors(java.util.List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> interceptors)
Specifies a list of interceptors used to process responses recieved
by the endpoint.
|
void |
setJaasDomain(java.lang.String jaasDomain)
Specifies the jaasDomain of this cxfbc consumer endpoint
|
void |
setLocationURI(java.lang.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(java.util.List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> interceptors)
Specifies a list of interceptors used to process faults sent by
the endpoint.
|
void |
setOutInterceptors(java.util.List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> interceptors)
Specifies a list of interceptors used to process requests sent by
the endpoint.
|
void |
setProperties(java.util.Map<java.lang.String,java.lang.Object> properties)
Sets arbitrary properties that are added to the CXF context at
the Endpoint level.
|
void |
setProvidedBus(org.apache.cxf.Bus providedBus)
Specifies a preconfigured CXF bus to use.
|
void |
setSchemaValidationEnabled(boolean schemaValidationEnabled)
Specifies if the endpoint use schemavalidation for the incoming/outgoing message.
|
void |
setSynchronous(boolean synchronous)
Specifies if the endpoint expects send messageExchange by sendSync
|
void |
setTimeout(long 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 |
setX509(boolean x509)
Specifies if the endpoint use X.509 Certificate to do the authentication.
|
void |
start() |
void |
stop() |
void |
validate() |
configureExchangeTarget, getRole, getTargetEndpoint, getTargetInterface, getTargetOperation, getTargetService, getTargetUri, setTargetEndpoint, setTargetInterface, setTargetOperation, setTargetService, setTargetUridone, fail, getChannel, getContext, getExchangeFactory, send, sendSyncgetDefinition, getDescription, getEndpoint, getInterfaceName, getKey, getService, getServiceUnit, isExchangeOkay, prepareExchange, setDefinition, setDescription, setEndpoint, setInterfaceName, setService, setServiceUnit, toStringpublic 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 java.util.List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> getOutFaultInterceptors()
getOutFaultInterceptors in interface CxfBcEndpointWithInterceptorInterceptor objectspublic java.util.List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> getInFaultInterceptors()
getInFaultInterceptors in interface CxfBcEndpointWithInterceptorInterceptor objectspublic java.util.List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> getInInterceptors()
getInInterceptors in interface CxfBcEndpointWithInterceptorInterceptor objectspublic java.util.List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> getOutInterceptors()
getOutInterceptors in interface CxfBcEndpointWithInterceptorInterceptor objectspublic void setInInterceptors(java.util.List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> interceptors)
setInInterceptors in interface CxfBcEndpointWithInterceptorinterceptors - a list of Interceptor objectspublic void setInFaultInterceptors(java.util.List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> interceptors)
setInFaultInterceptors in interface CxfBcEndpointWithInterceptorinterceptors - a list of Interceptor objectspublic void setOutInterceptors(java.util.List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> interceptors)
setOutInterceptors in interface CxfBcEndpointWithInterceptorinterceptors - a list of Interceptor objectspublic void setOutFaultInterceptors(java.util.List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> interceptors)
setOutFaultInterceptors in interface CxfBcEndpointWithInterceptorinterceptors - a list of Interceptor objectspublic void process(javax.jbi.messaging.MessageExchange exchange)
throws java.lang.Exception
process in interface Endpointprocess in class AbstractEndpointjava.lang.Exceptionpublic void activate()
throws java.lang.Exception
activate in interface Endpointactivate in class ConsumerEndpointjava.lang.Exceptionpublic void start()
throws java.lang.Exception
start in interface Endpointstart in class SimpleEndpointjava.lang.Exceptionpublic void stop()
throws java.lang.Exception
stop in interface Endpointstop in class SimpleEndpointjava.lang.Exceptionpublic void deactivate()
throws java.lang.Exception
deactivate in interface Endpointdeactivate in class ConsumerEndpointjava.lang.Exceptionpublic void validate()
throws javax.jbi.management.DeploymentException
validate in interface Endpointvalidate in class ConsumerEndpointjavax.jbi.management.DeploymentExceptionprotected org.apache.cxf.Bus getBus()
public void setLocationURI(java.lang.String locationURI)
locationURI - the URI as a stringpublic java.lang.String getLocationURI()
getLocationURI in class ConsumerEndpointpublic void setBusCfg(java.lang.String busCfg)
busCfg - a string containing the relative path to the configuration filepublic java.lang.String getBusCfg()
public void setMtomEnabled(boolean mtomEnabled)
mtomEnabled - a booleanpublic boolean isMtomEnabled()
public void setTimeout(long timeout)
timeout - the number of second to wait for a responsepublic long 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(java.util.List<org.apache.cxf.feature.AbstractFeature> features)
features - a list of AbstractFeature objectspublic java.util.List<org.apache.cxf.feature.AbstractFeature> getFeatures()
public void setX509(boolean x509)
x509 - a booleanpublic boolean isX509()
public boolean isSchemaValidationEnabled()
public void setSchemaValidationEnabled(boolean schemaValidationEnabled)
schemaValidationEnabled - a booleanpublic void setProvidedBus(org.apache.cxf.Bus providedBus)
providedBus - public org.apache.cxf.Bus getProvidedBus()
public void setDelegateToJaas(boolean delegateToJaas)
delegateToJaas - a booleanpublic boolean isDelegateToJaas()
public void setProperties(java.util.Map<java.lang.String,java.lang.Object> properties)
properties - the properties to addpublic java.util.Map<java.lang.String,java.lang.Object> getProperties()
public void setJaasDomain(java.lang.String jaasDomain)
jaasDomain - the jaasDomain as a stringpublic java.lang.String getJaasDomain()
Copyright © 2005-2017 FuseSource. All Rights Reserved.