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, setName
public ChannelEndpoint()
public ChannelEndpoint(ChannelEndpointConfiguration endpointConfiguration)
endpointConfiguration
- public SelectiveConsumer createConsumer()
Endpoint
createConsumer
in interface Endpoint
public Producer createProducer()
Endpoint
createProducer
in interface Endpoint
public ChannelEndpointConfiguration getEndpointConfiguration()
Endpoint
getEndpointConfiguration
in interface Endpoint
getEndpointConfiguration
in class AbstractEndpoint
public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) throws org.springframework.beans.BeansException
setBeanFactory
in interface org.springframework.beans.factory.BeanFactoryAware
org.springframework.beans.BeansException
BeanFactoryAware.setBeanFactory(org.springframework.beans.factory.BeanFactory)
Copyright © 2008–2017 ConSol Software GmbH. All rights reserved.