public final class HttpConfigBasedMessageDispatcher extends Object implements MessageDispatcher
MessageDispatcher
that dispatches the SOAP request via HTTP using an HTTP connector provided configuration.
As the this lives in mule and it cannot depend on the HTTP extension, reflection is used to access the returned headers.
Constructor and Description |
---|
HttpConfigBasedMessageDispatcher(String configName,
ExtensionsClient client) |
Modifier and Type | Method and Description |
---|---|
DispatchingResponse |
dispatch(DispatchingRequest req)
Sends off a Soap Request to a destination and returns it's response.
|
public HttpConfigBasedMessageDispatcher(String configName, ExtensionsClient client)
public DispatchingResponse dispatch(DispatchingRequest req)
Dispatches the message using the ExtensionsClient
executing the request
operation of the HTTP extension.
dispatch
in interface MessageDispatcher
req
- a DispatchingRequest
containing all the required information to deliver the message.DispatchingResponse
with the content returned by the transport and it's corresponding Content-Type.Copyright © 2018. All rights reserved.