class CallOutTransportSender extends TransportSender<SelfSenderConfig,BareEgressContext>
CallOutEgressConnectorElementexchangePattern, logger, senderConfig, status| Constructor and Description |
|---|
CallOutTransportSender(SelfSenderConfig senderConfig,
CallOutEgressConnectorElement connector)
Constructor to create a call-out transport sender providing the connector to be delegated
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
destroySender() |
protected void |
initSender(org.springframework.context.ApplicationContext context) |
ExecutionResult |
send(XMessageContext messageContext,
BareEgressContext connectorContext)
The send method of the transport that delegates the actual send operation back to the connector
|
protected void |
startSender() |
protected void |
stopSender() |
destroy, getExchangePattern, getSenderConfig, getStatus, init, start, stopCallOutTransportSender(SelfSenderConfig senderConfig, CallOutEgressConnectorElement connector)
senderConfig - the self sender configurationconnector - the connector to delegate the send operationpublic ExecutionResult send(XMessageContext messageContext, BareEgressContext connectorContext)
send in class TransportSender<SelfSenderConfig,BareEgressContext>messageContext - the message context to be sent outconnectorContext - the bare egress context with no useful information, to facilitate the frameworkprotected void initSender(org.springframework.context.ApplicationContext context)
initSender in class TransportSender<SelfSenderConfig,BareEgressContext>protected void startSender()
startSender in class TransportSender<SelfSenderConfig,BareEgressContext>protected void stopSender()
stopSender in class TransportSender<SelfSenderConfig,BareEgressContext>protected void destroySender()
destroySender in class TransportSender<SelfSenderConfig,BareEgressContext>Copyright © 2016–2019 AdroitLogic. All rights reserved.