rhea-promise
Advanced tools
Changelog
3.0.3 - (2024-06-12)
Session.createReceiver()
rejects due to timeout.Changelog
3.0.2 - (2024-05-02)
RheaConnection
Changelog
3.0.1 - (2023-05-05)
Connection
constructor isn't setting operationTimeoutInSeconds
correctly.Changelog
3.0.0 - (2023-03-02)
rhea
dependency to the 3.x major version.typescript
to ~4.3.0
Container.listen()
now requires a transport
property which is either "ssl" or "tls".Changelog
2.1.0 - (2021-06-30)
receiver.drainCredit()
method that calls through to rhea's
receiver.drain_credit()
method.Changelog
2.0.0 - (2021-06-03)
CreateRequestResponseLinkOptions
as an exported interface.AwaitableSendOptions
to include the optional fields tag
and format
which were previously passed to AwaitableSender.send()
. These fields are no longer positional arguments on AwaitableSender.send()
.SenderSendOptions
to include the optional fields tag
and format
which were previously passed to Sender.send()
. These fields are no longer positional arguments on Sender.send()
.sendTimeoutInSeconds
from the AwaitableSendOptions
that is passed to the AwaitableSender
constructor. timeoutInSeconds
on AwaitableSenderOptions
can still be used to set the timeout for individual AwaitableSender.send()
invocations.Changelog
1.2.1 - (2021-04-15)
createSession
, createReceiver
, and createSender
methods now only close underlying rhea analogue when cancelled if the resource has already been opened.Changelog
1.1.0 - 2021-02-08
timeoutInSeconds
parameter to the send
method on the AwaitableSender
that overrides the timeout value for the send operation set when creating the sender.error
event is fired when closing the sender/receiver link, surface errors occurring on the sender/receiver context if none are found on the session context. Details can be found in PR #55rhea
to ^1.0.24
. Details can be found in PR 68Changelog
1.0.0 - 2019-06-27
rhea
to ^1.0.8
.id
to the Session
object. The id property is created by concatenating session's local channel, remote channel and the connection id "local-<number>_remote-<number>_<connection-id>"
, thus making it unique for that connection.id
and the sender, receiver name
to help while debugging applications.options
to Link.close({closeSession: true | false})
, thus the user can specify whether the underlying session should be closed while closing the Sender|Receiver
. Default is true
.open
and close
operations on Connection
, Session
and Link
by creating timer in case the connection gets disconnected. Fixes #41.Sender
does not have a provision of "awaiting" on sending a message. The user needs to add handlers on the Sender
for accepted
, rejected
, released
, modified
to ensure whether the message was successfully sent.
Now, we have added a new AwaitableSender
which adds the handlers internally and provides an awaitable send()
operation to the customer. Fixes #45.InsufficientCreditError
: Defines the error that occurs when the Sender does not have enough credit.SendOperationFailedError
: Defines the error that occurs when the Sender fails to send a message.