|
145 | 145 | #include <bslma_usesbslmaallocator.h> |
146 | 146 | #include <bslmf_nestedtraitdeclaration.h> |
147 | 147 | #include <bsls_assert.h> |
| 148 | +#include <bsls_deprecate.h> |
148 | 149 | #include <bsls_timeinterval.h> |
149 | 150 | #include <bsls_types.h> |
150 | 151 |
|
@@ -330,10 +331,7 @@ class SessionOptions { |
330 | 331 | setTraceOptions(const bsl::shared_ptr<bmqpi::DTContext>& dtContext, |
331 | 332 | const bsl::shared_ptr<bmqpi::DTTracer>& dtTracer); |
332 | 333 |
|
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.") |
337 | 335 | SessionOptions& |
338 | 336 | configureEventQueue(int queueSize, int lowWatermark, int highWatermark); |
339 | 337 |
|
@@ -406,8 +404,7 @@ class SessionOptions { |
406 | 404 | int eventQueueLowWatermark() const; |
407 | 405 | int eventQueueHighWatermark() const; |
408 | 406 |
|
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.") |
411 | 408 | int eventQueueSize() const; |
412 | 409 |
|
413 | 410 | /// Get the user agent prefix. |
|
0 commit comments