public class LocalClientMessageProcessorBuilder extends AbstractOutboundMessageProcessorBuilder
address property, it will lookup the corresponding
inbound MessageProcessor. It will then use this processor's service model
to configure a CXF client.
This can be used via CXF meta endpoints. For instance, with MuleClient you can do:
MuleClient client = ...
client.send("cxf:http://host/yourService?method=remoteOperation", message);
This will find the remote service, configure the client appropriately, and
invoke the remote service.
This only works if the server and client are in the same Mule instance.
CxfEndpointBuilderaddress, client, configuration, databinding, decoupledEndpoint, defaultMethod, defaultMethodName, enableMuleSoapHeaders, features, inFaultInterceptors, inInterceptors, mtomEnabled, muleContext, operation, outFaultInterceptors, outInterceptors, payloadToArguments, properties, soapVersion, wsdlLocation| Constructor and Description |
|---|
LocalClientMessageProcessorBuilder() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
configureMessageProcessor(CxfOutboundMessageProcessor processor) |
protected org.apache.cxf.endpoint.Client |
createClient() |
addMuleInterceptors, build, configureClient, createClientFromLocalServer, createMessageProcessor, getAddress, getBus, getClient, getConfiguration, getDatabinding, getDecoupledEndpoint, getFeatures, getInFaultInterceptors, getInInterceptors, getMimeType, getOperation, getOutFaultInterceptors, getOutInterceptors, getPayloadToArguments, getProperties, getSoapVersion, getWsdlLocation, isEnableMuleSoapHeaders, isMtomEnabled, setAddProperties, setAddress, setConfiguration, setDatabinding, setDecoupledEndpoint, setEnableMuleSoapHeaders, setFeatures, setInFaultInterceptors, setInInterceptors, setMtomEnabled, setMuleContext, setOperation, setOutFaultInterceptors, setOutInterceptors, setPayloadToArguments, setProperties, setSoapVersion, setWsdlLocation, setWsSecurityprotected void configureMessageProcessor(CxfOutboundMessageProcessor processor)
configureMessageProcessor in class AbstractOutboundMessageProcessorBuilderprotected org.apache.cxf.endpoint.Client createClient()
throws org.mule.api.lifecycle.CreateException,
Exception
createClient in class AbstractOutboundMessageProcessorBuilderorg.mule.api.lifecycle.CreateExceptionExceptionCopyright © 2003–2020 MuleSoft, Inc.. All rights reserved.