Skip to content

Commit 39a3c38

Browse files
committed
Deprecate[bmqt] deprecate event queue size in SessionOptions
Signed-off-by: Christopher Beard <cbeard9@bloomberg.net>
1 parent 475145b commit 39a3c38

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

src/groups/bmq/bmqt/bmqt_sessionoptions.h

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@
145145
#include <bslma_usesbslmaallocator.h>
146146
#include <bslmf_nestedtraitdeclaration.h>
147147
#include <bsls_assert.h>
148+
#include <bsls_deprecate.h>
148149
#include <bsls_timeinterval.h>
149150
#include <bsls_types.h>
150151

@@ -330,10 +331,7 @@ class SessionOptions {
330331
setTraceOptions(const bsl::shared_ptr<bmqpi::DTContext>& dtContext,
331332
const bsl::shared_ptr<bmqpi::DTTracer>& dtTracer);
332333

333-
/// DEPRECATED: Use `configureEventQueue(int lowWatermark,
334-
/// int highWatermark)`
335-
/// instead. This method will be marked as `BSLA_DEPRECATED`
336-
/// in future release of libbmq.
334+
BSLS_DEPRECATE_FEATURE("bmqt", "configureEventQueue", "Use configureEventQueue(int lowWatermark, int highWatermark) instead.")
337335
SessionOptions&
338336
configureEventQueue(int queueSize, int lowWatermark, int highWatermark);
339337

@@ -406,8 +404,7 @@ class SessionOptions {
406404
int eventQueueLowWatermark() const;
407405
int eventQueueHighWatermark() const;
408406

409-
/// DEPRECATED: This parameter is no longer relevant and will be removed
410-
/// in future release of libbmq.
407+
BSLS_DEPRECATE_FEATURE("bmqt", "eventQueueSize", "This API is no longer supported and will be removed in future release of libbmq.")
411408
int eventQueueSize() const;
412409

413410
/// Get the user agent prefix.

0 commit comments

Comments
 (0)