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

  • SEARCH
  • Home
  • 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 6884269
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T05:29:11+00:00 2026-05-27T05:29:11+00:00

My app has two components. One is a notifier process (Notifier) that runs on

  • 0

My app has two components. One is a notifier process (Notifier) that runs on a media server and publishes a message using NServiceBus when a file is modified. The other is a MVC web application (PhotoWeb) that subscribes to these messages to perform cache invalidation, etc.

I’m setting up a staging environment for QA, and the problem is that the PhotoWeb app that’s running in the staging environment is receiving notifications from both the staging media server AND the live media server – which is unexpected, and a little odd…

The PhotoWeb instance that’s deployed to production has this configuration:

<MsmqTransportConfig InputQueue="PhotoWebInputQueue" ErrorQueue="PhotoWebErrorQueue" NumberOfWorkerThreads="1" MaxRetries="5" />
<UnicastBusConfig>
  <MessageEndpointMappings>
    <clear/>
    <!-- Where do we subscribe to messages about filesystem changes? -->
    <add Messages="MyProject.Messages" Endpoint="NotifierInputQueue@webmedia"/>
  </MessageEndpointMappings>
</UnicastBusConfig>

and the configuration that’s in the staging environment is:

<MsmqTransportConfig InputQueue="PhotoWebInputQueue" ErrorQueue="PhotoWebErrorQueue" NumberOfWorkerThreads="1" MaxRetries="5" />
<UnicastBusConfig>
  <MessageEndpointMappings>
    <clear/>
    <!-- Where do we subscribe to messages about filesystem changes? -->
    <add Messages="MyProject.Messages" Endpoint="NotifierInputQueue@staging_media"/>
  </MessageEndpointMappings>
</UnicastBusConfig>

A couple of theories spring to mind:

  1. I’ve misunderstood what a queue actually is – and the PhotoWebInputQueue is actually a shared network resource instead of a queue that’s local to a specific server
  2. A previous deployment has caused NServiceBus to subscribe to the live webmedia queue on the staging web server, and this subscription is persisting across restarts, etc.

However, my NServiceBus-fu isn’t strong enough to know how to test either of those theories. Anything obviously wrong with this configuration or architecture that you can see?

Thanks,

Dylan

  • 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-27T05:29:12+00:00Added an answer on May 27, 2026 at 5:29 am

    The only way your notifier can be sending messages to both subscribers is if there is a subscription for both subscribers in the notifier’s subscription store. The subscription consists of:

    • The message type (including assembly, version, and public key token)
    • The input queue address of the subscriber.

    When the publisher receives a message it evaluates the message against each subscription in turn, and sends the message on to each matching subscriber.

    If you clear down the live notifier’s subscription store and then restart the live subscriber this should resolve the issue.

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

Sidebar

Related Questions

I am making a iPhone app that has two different targets. They use the
I'm trying to write a simple WPF app that has two ellipses, joined by
I've got a settings object for my app that has two collections in it.
I am working on a simple app tab-bar based application that has two views.
I have an app that has a centre view with two views off to
I'm experimenting on how to play mp3 using Naudio. My simple app has one
My app has two tabs, one of which is a table view, in the
My Android app has two location listeners, one for fine and one for coarse
My android app has a two word app name, and the 2nd word doesn't
I'm writing a WinForms app which has two modes: console or GUI. Three projects

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.