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.
|
| Modifier and Type | Field and Description |
|---|---|
protected CxfConfiguration |
configuration |
| 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.runtime.core.api.Event reqEvent) |
protected CxfConfiguration |
getConnector() |
protected org.apache.cxf.service.model.EndpointInfo |
getEndpoint() |
protected Logger |
getLogger() |
protected InputStream |
getResponseBody(org.apache.cxf.message.Message m,
org.mule.runtime.core.api.Event 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.runtime.core.api.Event |
processNext(org.mule.runtime.core.api.Event event,
org.apache.cxf.message.Exchange exchange) |
protected void |
sendResultBackToCxf(org.apache.cxf.message.Message m,
org.mule.runtime.core.api.Event resEvent) |
void |
setCloseInput(boolean closeInput) |
String |
setupURL(org.apache.cxf.message.Message message) |
activate, deactivate, getMessageObserver, getTargetReference, getTargetReference, setMessageObserverprotected CxfConfiguration configuration
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.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
IOExceptionpublic String setupURL(org.apache.cxf.message.Message message) throws MalformedURLException
MalformedURLExceptionprotected void dispatchMuleMessage(org.apache.cxf.message.Message m,
org.mule.runtime.core.api.Event reqEvent)
throws org.mule.runtime.api.exception.MuleException
org.mule.runtime.api.exception.MuleExceptionprotected void sendResultBackToCxf(org.apache.cxf.message.Message m,
org.mule.runtime.core.api.Event resEvent)
throws org.mule.runtime.core.api.transformer.TransformerException,
IOException
org.mule.runtime.core.api.transformer.TransformerExceptionIOExceptionprotected InputStream getResponseBody(org.apache.cxf.message.Message m, org.mule.runtime.core.api.Event result) throws org.mule.runtime.core.api.transformer.TransformerException, IOException
org.mule.runtime.core.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.runtime.core.api.Event processNext(org.mule.runtime.core.api.Event event,
org.apache.cxf.message.Exchange exchange)
throws org.mule.runtime.api.exception.MuleException
org.mule.runtime.api.exception.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–2016 MuleSoft, Inc.. All rights reserved.