public class MessageSelectingQueueChannel
extends org.springframework.integration.channel.QueueChannel
| Constructor and Description |
|---|
MessageSelectingQueueChannel()
Default constructor.
|
MessageSelectingQueueChannel(BlockingQueue<org.springframework.messaging.Message<?>> queue)
Create a channel with the specified queue.
|
MessageSelectingQueueChannel(int capacity)
Create a channel with the specified queue capacity.
|
| Modifier and Type | Method and Description |
|---|---|
long |
getPollingInterval()
Gets the pollingInterval.
|
org.springframework.messaging.Message<?> |
receive(org.springframework.integration.core.MessageSelector selector)
Supports selective consumption of messages on the channel.
|
org.springframework.messaging.Message<?> |
receive(org.springframework.integration.core.MessageSelector selector,
long timeout)
Consume messages on the channel via message selector.
|
void |
setPollingInterval(long pollingInterval)
Sets the pollingInterval.
|
clear, doReceive, doSend, getQueueSize, getRemainingCapacity, purgereceive, receiveaddInterceptor, addInterceptor, getChannelInterceptors, getComponentType, getFullChannelName, getInterceptors, onInit, removeInterceptor, removeInterceptor, send, send, setConversionService, setDatatypes, setInterceptors, setMessageConverter, setShouldTrackafterPropertiesSet, extractTypeIfPossible, getApplicationContext, getApplicationContextId, getBeanFactory, getChannelResolver, getComponentName, getConversionService, getIntegrationProperties, getIntegrationProperty, getMessageBuilderFactory, getTaskScheduler, setApplicationContext, setBeanFactory, setBeanName, setChannelResolver, setComponentName, setMessageBuilderFactory, setTaskScheduler, toStringpublic MessageSelectingQueueChannel(BlockingQueue<org.springframework.messaging.Message<?>> queue)
public MessageSelectingQueueChannel(int capacity)
public MessageSelectingQueueChannel()
public org.springframework.messaging.Message<?> receive(org.springframework.integration.core.MessageSelector selector)
selector - public org.springframework.messaging.Message<?> receive(org.springframework.integration.core.MessageSelector selector,
long timeout)
selector - timeout - public long getPollingInterval()
public void setPollingInterval(long pollingInterval)
pollingInterval - the pollingInterval to setCopyright © 2008–2015 ConSol* Consulting&Solutions GmbH. All rights reserved.