public class MuleUniversalConduit
extends org.apache.cxf.transport.AbstractConduit
| Modifier and Type | Class and Description |
|---|---|
protected class |
MuleUniversalConduit.InterposedMessageObserver
Used to set appropriate message properties, exchange etc.
|
| Constructor and Description |
|---|
MuleUniversalConduit(MuleUniversalTransport transport,
CxfConfiguration configuration,
org.apache.cxf.service.model.EndpointInfo ei,
org.apache.cxf.ws.addressing.EndpointReferenceType t) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
close(org.apache.cxf.message.Message msg) |
protected void |
dispatchMuleMessage(org.apache.cxf.message.Message m,
org.mule.api.MuleEvent reqEvent,
org.mule.api.endpoint.OutboundEndpoint endpoint) |
protected CxfConfiguration |
getConnector() |
protected org.apache.cxf.service.model.EndpointInfo |
getEndpoint() |
protected org.mule.api.endpoint.OutboundEndpoint |
getEndpoint(org.mule.api.MuleContext muleContext,
String uri) |
protected Logger |
getLogger() |
protected InputStream |
getResponseBody(org.apache.cxf.message.Message m,
org.mule.api.MuleMessage result) |
protected String |
getTargetOrEndpoint() |
protected static org.apache.cxf.ws.addressing.EndpointReferenceType |
getTargetReference(org.apache.cxf.service.model.EndpointInfo ei,
org.apache.cxf.ws.addressing.EndpointReferenceType t)
Get the target endpoint reference.
|
protected MuleUniversalTransport |
getTransport() |
protected boolean |
isOneway(org.apache.cxf.message.Exchange exchange) |
void |
onClose(org.apache.cxf.message.Message m) |
void |
prepare(org.apache.cxf.message.Message message)
Prepare the message for writing.
|
protected org.mule.api.MuleEvent |
processNext(org.mule.api.MuleEvent event,
org.apache.cxf.message.Exchange exchange,
org.mule.api.endpoint.OutboundEndpoint endpoint) |
void |
setCloseInput(boolean closeInput) |
String |
setupURL(org.apache.cxf.message.Message message) |
activate, deactivate, getMessageObserver, getTargetReference, getTargetReference, setMessageObserverpublic MuleUniversalConduit(MuleUniversalTransport transport, CxfConfiguration configuration, org.apache.cxf.service.model.EndpointInfo ei, org.apache.cxf.ws.addressing.EndpointReferenceType t)
ei - The Endpoint being invoked by this destination.t - The EPR associated with this Conduit - i.e. the reply destination.public void close(org.apache.cxf.message.Message msg)
throws IOException
close in interface org.apache.cxf.transport.Conduitclose in class org.apache.cxf.transport.AbstractConduitIOExceptionprotected Logger getLogger()
getLogger in class org.apache.cxf.transport.AbstractObservablepublic void prepare(org.apache.cxf.message.Message message)
throws IOException
IOExceptionprotected org.mule.api.endpoint.OutboundEndpoint getEndpoint(org.mule.api.MuleContext muleContext,
String uri)
throws org.mule.api.MuleException
org.mule.api.MuleExceptionpublic String setupURL(org.apache.cxf.message.Message message) throws MalformedURLException
MalformedURLExceptionprotected void dispatchMuleMessage(org.apache.cxf.message.Message m,
org.mule.api.MuleEvent reqEvent,
org.mule.api.endpoint.OutboundEndpoint endpoint)
throws org.mule.api.MuleException
org.mule.api.MuleExceptionprotected InputStream getResponseBody(org.apache.cxf.message.Message m, org.mule.api.MuleMessage result) throws org.mule.api.transformer.TransformerException, IOException
org.mule.api.transformer.TransformerExceptionIOExceptionprotected boolean isOneway(org.apache.cxf.message.Exchange exchange)
protected String getTargetOrEndpoint()
public void onClose(org.apache.cxf.message.Message m)
throws IOException
IOExceptionprotected org.mule.api.MuleEvent processNext(org.mule.api.MuleEvent event,
org.apache.cxf.message.Exchange exchange,
org.mule.api.endpoint.OutboundEndpoint endpoint)
throws org.mule.api.MuleException
org.mule.api.MuleExceptionpublic void close()
close in interface org.apache.cxf.transport.Conduitclose in class org.apache.cxf.transport.AbstractConduitprotected static org.apache.cxf.ws.addressing.EndpointReferenceType getTargetReference(org.apache.cxf.service.model.EndpointInfo ei,
org.apache.cxf.ws.addressing.EndpointReferenceType t)
ei - the corresponding EndpointInfot - the given target EPR if availablepublic void setCloseInput(boolean closeInput)
protected CxfConfiguration getConnector()
protected org.apache.cxf.service.model.EndpointInfo getEndpoint()
protected MuleUniversalTransport getTransport()
Copyright © 2003–2018 MuleSoft, Inc.. All rights reserved.