Export (0) Print Expand All 3 out of 3 rated this helpful - Rate
this topic  Service Broker Application Outline  Most Service
Broker applications follow the same basic steps to receive and
process messages:    1. The application begins a transaction.
2. If the application maintains state, the application gets a
conversation group identifier. The application uses this
identifier to restore state from a state table. If there is no
conversation group with has messages that are ready to be
received, the application rolls back the transaction and exits.
3. The application receives one or more messages from the queue.
If the application has a conversation group identifier, the
application uses the conversation group identifier to receive
messages for that conversation group. If no more messages are
available to be received, the application commits the
transaction and returns to Step 1.   4. The application
validates the content of the messages based on the message type
name.   5. The application processes the m