Skip to content

Commit 2b84bd7

Browse files
author
Ashish Chhabria
authored
adding note for message sessions
mentioning explicitly that if sessions are enabled, then regular send/receive will not work. you can only send/receive sessions.
1 parent 6ff7c81 commit 2b84bd7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

articles/service-bus-messaging/message-sessions.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ In the portal, set the flag with the following check box:
3838

3939
![][2]
4040

41+
> [!NOTE]
42+
> When Sessions are enabled on a queue or a subscription, the client applications can ***no longer*** send/receive regular messages. All messages must be sent as part of a session (by setting the session id) and received by receiving the session.
43+
4144
The APIs for sessions exist on queue and subscription clients. There is an imperative model that controls when sessions and messages are received, and a handler-based model, similar to *OnMessage*, that hides the complexity of managing the receive loop.
4245

4346
## Session features

0 commit comments

Comments
 (0)