|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.consol.citrus.channel.MessageChannelSender
public class MessageChannelSender
Publish message to a MessageChannel.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.consol.citrus.message.MessageSender |
|---|
MessageSender.ErrorHandlingStrategy |
| Constructor Summary | |
|---|---|
MessageChannelSender()
|
|
| Method Summary | |
|---|---|
TestActor |
getActor()
Gets the actor. |
org.springframework.integration.MessageChannel |
getChannel()
Gets the channel. |
String |
getChannelName()
Gets the channelName. |
org.springframework.integration.support.channel.ChannelResolver |
getChannelResolver()
Gets the channelResolver. |
protected org.springframework.integration.MessageChannel |
getDestinationChannel()
Get the destination channel depending on settings in this message sender. |
protected String |
getDestinationChannelName()
Gets the channel name depending on what is set in this message sender. |
org.springframework.integration.core.MessagingTemplate |
getMessagingTemplate()
Gets the messagingTemplate. |
protected org.springframework.integration.MessageChannel |
resolveChannelName(String channelName)
Resolve the channel by name. |
void |
send(org.springframework.integration.Message<?> message)
Sends the message. |
void |
setActor(TestActor actor)
Sets the actor. |
void |
setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
Sets the bean factory for channel resolver. |
void |
setChannel(org.springframework.integration.MessageChannel channel)
Set the message channel. |
void |
setChannelName(String channelName)
Sets the destination channel name. |
void |
setChannelResolver(org.springframework.integration.support.channel.ChannelResolver channelResolver)
Set the channel resolver. |
void |
setMessagingTemplate(org.springframework.integration.core.MessagingTemplate messagingTemplate)
Sets the messaging template. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MessageChannelSender()
| Method Detail |
|---|
public void send(org.springframework.integration.Message<?> message)
MessageSender
send in interface MessageSendermessage - the message object to send.
CitrusRuntimeExceptionMessageSender.send(org.springframework.integration.Message)protected org.springframework.integration.MessageChannel getDestinationChannel()
protected String getDestinationChannelName()
protected org.springframework.integration.MessageChannel resolveChannelName(String channelName)
channelName - the name to resolve
public void setChannel(org.springframework.integration.MessageChannel channel)
channel - the channel to setpublic void setMessagingTemplate(org.springframework.integration.core.MessagingTemplate messagingTemplate)
messagingTemplate - the messagingTemplate to set
public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
throws org.springframework.beans.BeansException
setBeanFactory in interface org.springframework.beans.factory.BeanFactoryAwareorg.springframework.beans.BeansExceptionBeanFactoryAware.setBeanFactory(org.springframework.beans.factory.BeanFactory)public void setChannelResolver(org.springframework.integration.support.channel.ChannelResolver channelResolver)
channelResolver - the channelResolver to setpublic void setChannelName(String channelName)
channelName - the channelName to setpublic org.springframework.integration.MessageChannel getChannel()
public String getChannelName()
public org.springframework.integration.core.MessagingTemplate getMessagingTemplate()
public org.springframework.integration.support.channel.ChannelResolver getChannelResolver()
public TestActor getActor()
getActor in interface MessageSenderpublic void setActor(TestActor actor)
actor - the actor to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||