D
- the type of destination from which messages can be receivedpublic interface MessageReceivingOperations<D>
Modifier and Type | Method and Description |
---|---|
<P> Message<P> |
receive() |
<P> Message<P> |
receive(D destination) |
<T> T |
receiveAndConvert(Class<T> targetClass) |
<T> T |
receiveAndConvert(D destination,
Class<T> targetClass) |
<P> Message<P> receive() throws MessagingException
MessagingException
<P> Message<P> receive(D destination) throws MessagingException
MessagingException
<T> T receiveAndConvert(Class<T> targetClass) throws MessagingException
MessagingException
<T> T receiveAndConvert(D destination, Class<T> targetClass) throws MessagingException
MessagingException