Package | Description |
---|---|
io.vertx.proton |
Modifier and Type | Method and Description |
---|---|
ProtonReceiver |
ProtonConnection.createReceiver(String address)
Creates a receiver used to consumer messages from the given node address.
|
ProtonReceiver |
ProtonSession.createReceiver(String address)
Creates a receiver used to consumer messages from the given node address.
|
ProtonReceiver |
ProtonConnection.createReceiver(String address,
ProtonLinkOptions receiverOptions)
Creates a receiver used to consumer messages from the given node address.
|
ProtonReceiver |
ProtonSession.createReceiver(String address,
ProtonLinkOptions receiverOptions)
Creates a receiver used to consumer messages from the given node address.
|
ProtonReceiver |
ProtonReceiver.drain(long timeout,
Handler<AsyncResult<Void>> completionHandler)
Initiates a 'drain' of link credit from the remote sender.
|
ProtonReceiver |
ProtonReceiver.flow(int credits)
Grants the given number of message credits to the sender.
|
ProtonReceiver |
ProtonReceiver.handler(ProtonMessageHandler handler)
Sets the handler to process messages as they arrive.
|
ProtonReceiver |
ProtonReceiver.maxMessageSizeExceededHandler(Handler<ProtonReceiver> handler)
Sets a handler to execute when an incoming delivery has exceeded the receivers
max-message-size , if one was configured. |
ProtonReceiver |
ProtonReceiver.setAutoAccept(boolean autoAccept)
Sets whether received deliveries should be automatically accepted (and settled) after the message handler runs for
them, if no other disposition has been applied during handling.
|
ProtonReceiver |
ProtonReceiver.setPrefetch(int messages)
Sets the number of message credits the receiver grants and replenishes automatically as messages are delivered.
|
Modifier and Type | Method and Description |
---|---|
ProtonReceiver |
ProtonReceiver.maxMessageSizeExceededHandler(Handler<ProtonReceiver> handler)
Sets a handler to execute when an incoming delivery has exceeded the receivers
max-message-size , if one was configured. |
ProtonConnection |
ProtonConnection.receiverOpenHandler(Handler<ProtonReceiver> remoteReceiverOpenHandler)
Sets a handler for when an AMQP Attach frame is received from the remote peer for a receiving link.
|
Copyright © 2020 Eclipse. All rights reserved.