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,
MuleEvent reqEvent,
OutboundEndpoint endpoint) |
protected CxfConfiguration |
getConnector() |
protected org.apache.cxf.service.model.EndpointInfo |
getEndpoint() |
protected OutboundEndpoint |
getEndpoint(MuleContext muleContext,
String uri) |
protected Logger |
getLogger() |
protected InputStream |
getResponseBody(org.apache.cxf.message.Message m,
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 MuleEvent |
processNext(MuleEvent event,
org.apache.cxf.message.Exchange exchange,
OutboundEndpoint endpoint) |
void |
setCloseInput(boolean closeInput) |
String |
setupURL(org.apache.cxf.message.Message message) |
activate, deactivate, getMessageObserver, getTargetReference, getTargetReference, setMessageObserver
public 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.Conduit
close
in class org.apache.cxf.transport.AbstractConduit
IOException
protected Logger getLogger()
getLogger
in class org.apache.cxf.transport.AbstractObservable
public void prepare(org.apache.cxf.message.Message message) throws IOException
IOException
protected OutboundEndpoint getEndpoint(MuleContext muleContext, String uri) throws MuleException
MuleException
public String setupURL(org.apache.cxf.message.Message message) throws MalformedURLException
MalformedURLException
protected void dispatchMuleMessage(org.apache.cxf.message.Message m, MuleEvent reqEvent, OutboundEndpoint endpoint) throws MuleException
MuleException
protected InputStream getResponseBody(org.apache.cxf.message.Message m, MuleMessage result) throws TransformerException, IOException
TransformerException
IOException
protected boolean isOneway(org.apache.cxf.message.Exchange exchange)
protected String getTargetOrEndpoint()
public void onClose(org.apache.cxf.message.Message m) throws IOException
IOException
protected MuleEvent processNext(MuleEvent event, org.apache.cxf.message.Exchange exchange, OutboundEndpoint endpoint) throws MuleException
MuleException
public void close()
close
in interface org.apache.cxf.transport.Conduit
close
in class org.apache.cxf.transport.AbstractConduit
protected 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–2016 MuleSoft, Inc.. All rights reserved.