node-oracledb icon indicating copy to clipboard operation
node-oracledb copied to clipboard

Access enqueue_time in AQ messages

Open lordvlad opened this issue 11 months ago • 4 comments

  1. Describe your new request in detail

I need to access enqueue_time. AdvancedQueueMessage<T> only has a delay property, but it is always 0 for some reason. In the java libs we have AQMessageProperty.getEnqueueTime().

  1. Give supporting information about tools and operating systems. Give relevant product version numbers

Using nodejs 23, windows 11

lordvlad avatar Feb 26 '25 11:02 lordvlad

If I read python-oracledb correctly, this is exposed via ODPI-C as dpiMsgProps_getEnqTime, so exposing the functionality in node-oracledb would not be a huge effort.

cjbj avatar Feb 26 '25 11:02 cjbj

This will be available in the next release

sharadraju avatar Apr 25 '25 07:04 sharadraju

sorry for the dumb question, but is there an ETA for the next release?

lordvlad avatar Jun 02 '25 20:06 lordvlad

sorry for the dumb question, but is there an ETA for the next release?

"soon".

cjbj avatar Jun 02 '25 21:06 cjbj

This attribute is now available in node-oracledb 6.9. @lordvlad Please confirm if you are able to use the enqTime property.

sharadraju avatar Jul 18 '25 14:07 sharadraju

Works as advertised 🚀

lordvlad avatar Sep 15 '25 13:09 lordvlad