public abstract class CallOutTypedEgressConnectorElement<T> extends CallOutEgressConnectorElement
XMessage
by this
class to call the send-receive which emits a messagelogger
Constructor and Description |
---|
CallOutTypedEgressConnectorElement() |
Modifier and Type | Method and Description |
---|---|
protected XMessage |
sendReceiveMessage(XMessageContext messageContext)
Uses the message context passed into this method to invoke the client library call of the SDK and returns the
composed response message to be injected back into the engine as the resulting response of the invocation.
|
protected abstract T |
sendReceiveTyped(XMessageContext messageContext)
Invokes the send receive functionality of a desired client library or an SDK and returns the typed object, which
will be converted to a message to be fed to the engine for response processing
|
getEgressContext, getSenderConfig, newSender, prepareResponse, sendReceive
getResponseProcessor, initBiEgressConnector, initEgressConnector, receiveResponse, setResponseProcessor
continueFlow, getAdditionalProperties, getIntegrationFlow, getOperation, getSender, getSenderExchangePattern, getSendingFailedStream, getSendingSuccessStream, getWeight, initElement, process, sendMessage, setEgressFuture, setIntegrationFlow, setOperation, setWeight
destroy, destroyElement, getBeanName, getEntityId, getErrorHandler, getFlowId, getMetricsEngine, getProject, getProjectId, getProjectVersion, getResource, getServerConfig, getStatus, init, processMessage, setBeanName, setErrorHandler, setFlowId, setProject
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
cast, getBeanName, getFlowId, getProject, getStatus, processMessage, setFlowId, setProject
destroy, init
getEntityId, getFlowId, getMetricsEngine, getProjectId, getProjectVersion
protected final XMessage sendReceiveMessage(XMessageContext messageContext)
CallOutEgressConnectorElement
sendReceiveMessage
in class CallOutEgressConnectorElement
messageContext
- the message context to be used for the invocationprotected abstract T sendReceiveTyped(XMessageContext messageContext)
messageContext
- the message to sent outCopyright © 2016–2019 AdroitLogic. All rights reserved.