Skip to content

Commit 108d2b2

Browse files
Doc updates.
1 parent 53c8300 commit 108d2b2

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

doc/src/user_guide/aq.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,13 @@ types which are detailed below.
4343
- Supported for single and array message enqueuing and dequeuing when using Oracle Client 19c (or later) and connected to Oracle Database 19c (or later).
4444
* - JSON
4545
- Supported when using Oracle Database 21c (or later). In python-oracle Thick mode, Oracle Client libraries 21c (or later) are also needed.
46+
47+
Buffered messaging using the :data:`~oracledb.MSG_BUFFERED` delivery mode is not supported for JSON payloads.
4648
- Supported for single message enqueuing and dequeuing when using Oracle Client libraries 21c (or later) and Oracle Database 21c (or later).
4749

4850
Array enqueuing and dequeuing is not supported for JSON payloads.
51+
52+
Buffered messaging using the :data:`~oracledb.MSG_BUFFERED` delivery mode is not supported for JSON payloads.
4953
* - JMS
5054
- Supported
5155
- Supported for single and array message enqueuing and dequeuing when using Oracle Client 19 (or later) and Oracle Database version 23 (or later).

src/oracledb/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -734,7 +734,7 @@
734734
needs to be created prior to enqueuing buffered messages.
735735
736736
This mode is not supported for bulk array operations in python-oracledb Thick
737-
mode.
737+
mode, and for JSON payloads.
738738
"""
739739

740740
MSG_PERSISTENT: int = constants.MSG_PERSISTENT

src/oracledb/aq.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -326,6 +326,9 @@ def deliverymode(self) -> int:
326326
:data:`~oracledb.MSG_PERSISTENT` (default),
327327
:data:`~oracledb.MSG_BUFFERED`, or
328328
:data:`~oracledb.MSG_PERSISTENT_OR_BUFFERED`.
329+
330+
Note that :data:`~oracledb.MSG_BUFFERED` is not supported for JSON
331+
payloads.
329332
"""
330333
raise AttributeError("deliverymode can only be written")
331334

@@ -435,6 +438,9 @@ def deliverymode(self) -> int:
435438
enqueued. It should be one of the values
436439
:data:`~oracledb.MSG_PERSISTENT` (default) or
437440
:data:`~oracledb.MSG_BUFFERED`.
441+
442+
Note that :data:`~oracledb.MSG_BUFFERED` is not supported for JSON
443+
payloads.
438444
"""
439445
raise AttributeError("deliverymode can only be written")
440446

0 commit comments

Comments
 (0)