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 980947
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T04:27:55+00:00 2026-05-16T04:27:55+00:00

I’m looking to introduce SS Service Broker, I have a remote orders database and

  • 0

I’m looking to introduce SS Service Broker,

I have a remote orders database and a local processing database, all activity on the processing database has to happen in sequence, this seems a perfect job for Service Broker!

I’ve set up the infrastructure, I can send and receive messages and now I’m looking at the design of the processing. As I said all processes for one order need to be completed in sequence so I’ll put them in one conversation.

One of these processes is a request for external flat file data, we then wait (could be several days) and then import and process this file when it returns. How can I process half the tasks, then wait for the flat file to return before processing the other half.

I’ve had some ideas but I’m sure I’m missing a trick somewhere

1) Write all queue items to a status table and use status values – seems to remove some of the flexibility of SSSB and add another layer of tasks

2) Keep the transaction open until we get the data back – not ideal

3) Have the flat file import task continually polling for the file to appear – this seems inefficient

What is the most efficient way of managing this workflow?
thanks in advance

  • 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-05-16T04:27:55+00:00Added an answer on May 16, 2026 at 4:27 am

    In my opinion it is like chain of responsibility. As far as i can understand we have the following workflow.

    1.) Process for message.

    2.) Wait for external file, now this can be a busy wait or if external data provides you a notification then we can actually do it in non-polling manner.

    3.) Once data is received then process the data.

    So my suggestion would be to use 3 different Queues one for each part, when one is done it will forward or put a new message in chained queue.

    I am assuming, one order processing will not disrupt another order processing.

    I am thinking MSMQ with Windows Sequential Work flow, might also be a candidate for this task.

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

Sidebar

Related Questions

All, I'm looking for advice over the following scenario: I have a component running
I'm looking to introduce a unit testing framework into the mix at my job.
Looking for suggestions on file system management tools. We have several terabytes of images,
Greetings, I have to following problem. I have a WCF Service which runs under
I am looking for an articles which introduce Intel 64 bit processor and Assembly:
I am looking forward to move all the logic (which is implemented as manipulating
looking to see if there are some ideas on how I should introduce the
I'm looking for a CMS designed to introduce software. I want be able to
Looking at developing an iphone app for the first time upon Windows. I have
Looking for a way to wrap words that have been enterd in a text

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.