|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.integration.context.IntegrationObjectSupport
org.springframework.integration.channel.AbstractMessageChannel
org.springframework.integration.amqp.channel.AbstractAmqpChannel
org.springframework.integration.amqp.channel.PollableAmqpChannel
public class PollableAmqpChannel
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.springframework.integration.channel.AbstractMessageChannel |
|---|
AbstractMessageChannel.ChannelInterceptorList |
| Field Summary |
|---|
| Fields inherited from class org.springframework.integration.channel.AbstractMessageChannel |
|---|
logger |
| Constructor Summary | |
|---|---|
PollableAmqpChannel(java.lang.String channelName,
org.springframework.amqp.core.AmqpTemplate amqpTemplate)
|
|
| Method Summary | |
|---|---|
protected void |
onInit()
Subclasses may implement this for initialization logic. |
Message<?> |
receive()
Receive a message from this channel, blocking indefinitely if necessary. |
Message<?> |
receive(long timeout)
Receive a message from this channel, blocking until either a message is available or the specified timeout period elapses. |
| Methods inherited from class org.springframework.integration.amqp.channel.AbstractAmqpChannel |
|---|
doSend |
| Methods inherited from class org.springframework.integration.channel.AbstractMessageChannel |
|---|
addInterceptor, getComponentType, getInterceptors, send, send, setConversionService, setDatatypes, setInterceptors, setShouldTrack |
| Methods inherited from class org.springframework.integration.context.IntegrationObjectSupport |
|---|
afterPropertiesSet, getBeanFactory, getComponentName, getConversionService, getTaskScheduler, setBeanFactory, setBeanName, setComponentName, setTaskScheduler, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.springframework.integration.MessageChannel |
|---|
send, send |
| Methods inherited from interface org.springframework.integration.context.NamedComponent |
|---|
getComponentName |
| Constructor Detail |
|---|
public PollableAmqpChannel(java.lang.String channelName,
org.springframework.amqp.core.AmqpTemplate amqpTemplate)
| Method Detail |
|---|
protected void onInit()
throws java.lang.Exception
IntegrationObjectSupport
onInit in class IntegrationObjectSupportjava.lang.Exceptionpublic Message<?> receive()
PollableChannel
receive in interface PollableChannelMessage or null if interruptedpublic Message<?> receive(long timeout)
PollableChannel
receive in interface PollableChanneltimeout - the timeout in milliseconds
Message or null if the
specified timeout period elapses or the message reception is interrupted
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||