public interface MessageDeliveryHandler
Modifier and Type | Method and Description |
---|---|
boolean |
deliver(MessageQueue queue,
Message message)
This method is responsible for delivering a message into the transport layer.
|
void |
noop(MessageQueue queue)
Sends a NOOP (No-Operation) to the remote connected
|
boolean deliver(MessageQueue queue, Message message) throws IOException
queue
- the MessageQueue
to deliver from.message
- the Message
to deliver.IOException
- an IOException may be thrown if there is a problem interacting with the underlying transport.void noop(MessageQueue queue) throws IOException
queue
- IOException
Copyright © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.