Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9222807
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T03:55:22+00:00 2026-06-18T03:55:22+00:00

All examples I find on the web for using SQL Server Service Broker queues

  • 0

All examples I find on the web for using SQL Server Service Broker queues seem to have two queues. I don’t understand why and every example seems to assume that this is so obvious as to be unnecessary to explain.

Several things will write to my queue and a stored procedure will read from it and insert to database. Why do I need two queues?

For example: http://www.techrepublic.com/article/use-service-broker-internal-activation-in-sql-server-2005/6156264#

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T03:55:24+00:00Added an answer on June 18, 2026 at 3:55 am

    Technically you can use one queue using SSB technology in your application. In this case this queue has a mess from request messages from initiator and response messages from target. Your stored procedure should implement mechanism to distinguish one from another, sort out them, decide which response is for which request and so on. Also take in mind that RECEIVE messages from this queue in exact order and you can’t skip some of them and leave in queue for further processing.

    Maybe better in your case to follow Remus Rusanu’s answer and implement your queue using database table?

    SSB idea is simple – Initiator places request message into Target’s queue while waiting response message from Target in its own queue. Is it your case? If no, maybe you need not SSB at all?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Silly question. A lot of examples using jstree that I find on the web
I've been looking all over the web but I can't seem to find any
I am working on a web app using .NET MVC 3 and SQL server
in all the examples I find of Zend_Form the view showing the form corresponds
All the examples I could find of flexible box model show stuff expanding either
In all the examples I can find of usages of HttpClient , it is
I am trying to find rectangle buttons with gloss effect. all examples are relevant
All find and execute examples are a variation of this (with /bin/rm ) :
Suppose we have abstract class A (all examples in C#) public abstract class A
I want to use CKEditor with DynamicData Web Site. The all examples that I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.