public class ChannelEndpoint extends AbstractEndpoint implements org.springframework.beans.factory.BeanFactoryAware
PollableChannel interface. When using message selector channel
must be of type MessageSelectingQueueChannel.| Constructor and Description |
|---|
ChannelEndpoint()
Default constructor initializing endpoint configuration.
|
ChannelEndpoint(ChannelEndpointConfiguration endpointConfiguration)
Constructor with endpoint configuration.
|
| Modifier and Type | Method and Description |
|---|---|
SelectiveConsumer |
createConsumer()
Creates a message consumer for this endpoint.
|
Producer |
createProducer()
Creates a message producer for this endpoint for sending messages
to this endpoint.
|
ChannelEndpointConfiguration |
getEndpointConfiguration()
Gets the endpoint configuration holding all endpoint specific properties such as
endpoint uri, connection timeout, ports, etc.
|
void |
setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
Sets the bean factory for channel resolver.
|
getActor, getConsumerName, getName, getProducerName, setActor, setBeanName, setNamepublic ChannelEndpoint()
public ChannelEndpoint(ChannelEndpointConfiguration endpointConfiguration)
endpointConfiguration - public SelectiveConsumer createConsumer()
EndpointcreateConsumer in interface Endpointpublic Producer createProducer()
EndpointcreateProducer in interface Endpointpublic ChannelEndpointConfiguration getEndpointConfiguration()
EndpointgetEndpointConfiguration in interface EndpointgetEndpointConfiguration in class AbstractEndpointpublic 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)Copyright © 2008–2015 ConSol* Consulting&Solutions GmbH. All rights reserved.