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.
CxfEndpointBuilder
address, 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, setWsSecurity
protected void configureMessageProcessor(CxfOutboundMessageProcessor processor)
configureMessageProcessor
in class AbstractOutboundMessageProcessorBuilder
protected org.apache.cxf.endpoint.Client createClient() throws CreateException, Exception
createClient
in class AbstractOutboundMessageProcessorBuilder
CreateException
Exception
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.