|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.consol.citrus.channel.MessageChannelSender
com.consol.citrus.channel.SyncMessageChannelSender
public class SyncMessageChannelSender
Synchronous message channel sender. After sending message action will listen for reply message. A
ReplyMessageHandler may ask for this reply message and continue with message validation.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.consol.citrus.message.MessageSender |
|---|
MessageSender.ErrorHandlingStrategy |
| Constructor Summary | |
|---|---|
SyncMessageChannelSender()
|
|
| Method Summary | |
|---|---|
ReplyMessageCorrelator |
getCorrelator()
Get the reply message correlator. |
ReplyMessageHandler |
getReplyMessageHandler()
Get the reply message handler. |
long |
getReplyTimeout()
Get the reply timeout. |
void |
send(org.springframework.integration.Message<?> message)
Sends the message. |
void |
setCorrelator(ReplyMessageCorrelator correlator)
Set the reply message correlator. |
void |
setReplyMessageHandler(ReplyMessageHandler replyMessageHandler)
Set the reply message handler |
void |
setReplyTimeout(long replyTimeout)
Set the reply timeout. |
| Methods inherited from class com.consol.citrus.channel.MessageChannelSender |
|---|
getActor, getChannel, getChannelName, getChannelResolver, getDestinationChannel, getDestinationChannelName, getMessagingTemplate, resolveChannelName, setActor, setBeanFactory, setChannel, setChannelName, setChannelResolver, setMessagingTemplate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SyncMessageChannelSender()
| Method Detail |
|---|
public void send(org.springframework.integration.Message<?> message)
MessageSender
send in interface MessageSendersend in class MessageChannelSendermessage - the message object to send.
CitrusRuntimeExceptionMessageSender.send(org.springframework.integration.Message)public void setReplyMessageHandler(ReplyMessageHandler replyMessageHandler)
replyMessageHandler - the replyMessageHandler to setpublic ReplyMessageHandler getReplyMessageHandler()
public void setReplyTimeout(long replyTimeout)
replyTimeout - the replyTimeout to setpublic long getReplyTimeout()
public void setCorrelator(ReplyMessageCorrelator correlator)
correlator - the correlator to setpublic ReplyMessageCorrelator getCorrelator()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||