public class ChannelEndpointConfiguration extends AbstractEndpointConfiguration
Constructor and Description |
---|
ChannelEndpointConfiguration() |
Modifier and Type | Method and Description |
---|---|
org.springframework.beans.factory.BeanFactory |
getBeanFactory()
Gets the bean factory.
|
org.springframework.messaging.MessageChannel |
getChannel()
Gets the channel.
|
String |
getChannelName()
Gets the channelName.
|
org.springframework.messaging.core.DestinationResolver<org.springframework.messaging.MessageChannel> |
getChannelResolver()
Gets the channelResolver.
|
ChannelMessageConverter |
getMessageConverter()
Gets the message converter.
|
org.springframework.integration.core.MessagingTemplate |
getMessagingTemplate()
Gets the messagingTemplate.
|
boolean |
isUseObjectMessages()
Determines weather to convert outbound messages or not.
|
void |
setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
Sets the bean factory for channel resolver.
|
void |
setChannel(org.springframework.messaging.MessageChannel channel)
Set the message channel.
|
void |
setChannelName(String channelName)
Sets the destination channel name.
|
void |
setChannelResolver(org.springframework.messaging.core.DestinationResolver channelResolver)
Set the channel resolver.
|
void |
setMessageConverter(ChannelMessageConverter messageConverter)
Sets the message converter.
|
void |
setMessagingTemplate(org.springframework.integration.core.MessagingTemplate messagingTemplate)
Sets the messaging template.
|
void |
setUseObjectMessages(boolean useObjectMessages) |
getTimeout, setTimeout
public void setChannel(org.springframework.messaging.MessageChannel channel)
channel
- the channel to setpublic void setMessagingTemplate(org.springframework.integration.core.MessagingTemplate messagingTemplate)
messagingTemplate
- the messagingTemplate to setpublic void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) throws org.springframework.beans.BeansException
org.springframework.beans.BeansException
BeanFactoryAware.setBeanFactory(org.springframework.beans.factory.BeanFactory)
public org.springframework.beans.factory.BeanFactory getBeanFactory()
public void setChannelResolver(org.springframework.messaging.core.DestinationResolver channelResolver)
channelResolver
- the channelResolver to setpublic void setChannelName(String channelName)
channelName
- the channelName to setpublic org.springframework.messaging.MessageChannel getChannel()
public String getChannelName()
public org.springframework.integration.core.MessagingTemplate getMessagingTemplate()
public org.springframework.messaging.core.DestinationResolver<org.springframework.messaging.MessageChannel> getChannelResolver()
public ChannelMessageConverter getMessageConverter()
public void setMessageConverter(ChannelMessageConverter messageConverter)
messageConverter
- public boolean isUseObjectMessages()
public void setUseObjectMessages(boolean useObjectMessages)
useObjectMessages
- Copyright © 2008–2017 ConSol Software GmbH. All rights reserved.