Comments (7)
Yes, though you can set it to a javascript Date object.
from rhea.
Yes, you are correct that support for setting it as a Date object is not available on 1.0.2, where you must set it as the millisecs from epoch (i.e. the value returned by getTime() on the date object).
from rhea.
great, thank you! closing this issue for now, but I do think it'd be useful to specify that somewhere such as in the typescript comment. At least for now, someone can search github issues for this answer.
from rhea.
Also, is setting it to a JavaScript date object supported in 1.0.24? The typescript for that version says number
for absolute_expiry_time
. Reopening for this outstanding question.
from rhea.
I believe so as the tests use the typescript interface: e.g. https://github.com/amqp/rhea/blob/main/test/messages.ts#L247
from rhea.
From my understanding of the commit history, it seems like the corresponding test for 1.0.24 do not use a JavaScript Date object.
Here is a link to the test at the commit where the package.json version was bumped to 1.0.24:
https://github.com/amqp/rhea/blob/2cbe55795b86a43375111f2f446089f55b948ecf/test/messages.ts
Could you clarify what the implication of this is in terms of Date object support on this specific version (1.0.24)? I just want to make sure we are using rhea correctly in production.
Thanks again!
from rhea.
Great, thank you!
from rhea.
Related Issues (20)
- Regression in PR #382: Handle transfer with no payload HOT 1
- Receiver (Consumer) does not receive message that are larger than ~4.15kb HOT 3
- How can I access virtual host using rhea with TLS? HOT 13
- Does it supports OAUTH2 mechanism? HOT 2
- ulong correlation_id incorrecly serialized as uuid HOT 3
- Acknowledgments doesnt work HOT 6
- idle_time_out fires which event? HOT 15
- Publish Window Size Property HOT 2
- `NetClientConnectionOptions` and `TlsClientConnectionOptions` should be exported
- Wildcard Topics HOT 15
- loosing messages intermittently while consuming from Azure service bus HOT 1
- amqp:resource-limit-exceeded ERROR HOT 1
- `sendable` event not fired after certain amount of messages HOT 1
- How to use filters dynamically ? HOT 12
- Regenerate or remove ssl certificates for examples
- Connection RabbitMQ through websocket HOT 2
- Sender appears to be ignoring max_frame_size HOT 4
- connection_detail does not support hostname HOT 5
- Issue and question - Detached receivers / draining credits HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rhea.