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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T18:54:38+00:00 2026-06-04T18:54:38+00:00

I have a problem in NServiceBus 3. I’m trying to send messages to an

  • 0

I have a problem in NServiceBus 3.

I’m trying to send messages to an endpoint. The message type and endpoint is configured in the config as

<UnicastBusConfig>
    <MessageEndpointMappings>
        <add Messages="GatewayMessages.ProcessAttachmentCommand, GatewayMessages" Endpoint="Attachments"/>
    </MessageEndpointMappings>
</UnicastBusConfig>

The endpoint has, in its EndpointConfig.cs, the following configuration:

        Configure
            .With()
            .DefineEndpointName("Attachments")
            .DefaultBuilder()
            .DBSubcriptionStorage()
            .XmlSerializer()
            .FileShareDataBus(@"C:\Attachments\nservicebus\databus")
            .MsmqTransport()
            .UnicastBus()
            .LoadMessageHandlers()
            .CreateBus()
            .Start(() => Configure.Instance.ForInstallationOn<NServiceBus.Installation.Environments.Windows>().Install());

I also have a IMutateTransportMessages class configured with

        Configure.Instance.Configurer.ConfigureComponent<TransportMessageCompressionMutator>(DependencyLifecycle.InstancePerCall);

The problem I’m getting is when calling Bus.Send with the ProcessAttachmentCommand the endpoint isn’t receiving anything. With the endpoint stopped I’m not even seeing any messages appearing in the endpoint queue.

With a breakpoint in the MutateOutgoing method of the TransportMessageCompressionMutator I can see the outgoing message, so it looks like the call to Bus.Send is OK but it doesn’t appear to be going to the endpoint.

Is there anywhere else other than the configuration I’ve included that may influence the delivery of messages?
And is there any way at the message level to see where they’re being directed?

My NServiceBus host doesn’t log any errors, it’s like the messages are just vanishing. It’s most confusing!

  • 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-04T18:54:41+00:00Added an answer on June 4, 2026 at 6:54 pm

    Turns out this was an error caused by a change to the MessageEndpointMappings. The version I posted in my question is not actually what was being used. This is the actual version:

    <UnicastBusConfig>
        <MessageEndpointMappings>
            <add Messages="GatewayMessages.ProcessAttachmentCommand, GatewayMessages" Endpoint="Attachments"/>
            <add Messages="GatewayMessages" Endpoint="Services.Saga"/>
        </MessageEndpointMappings>
    </UnicastBusConfig>
    

    The second MessageEndpointMappings had gone in and NSB was using that config to determine the destination of all message classes within the GatewayMessages assembly.

    Ah, human error!

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

Sidebar

Related Questions

I have problem in my PHP code. I'm trying to make internet shop and
I have written a mvc that uses nservicebus to publish messages. This works fine
We're using nServiceBus in our development environment, where we have a frontend publishing messages
I have an NServiceBus application for which a given message may not be processed
I'm using NServiceBus to handle some calculation messages. I have a new requirement to
I have an on premise service bus that is configured to handle messages from
I have problem with http://abfoodpolicy.com/ . In IE 8 and 9 the right sidebar
I have problem with my query on C, I’m using the oci8 driver. This
I have problem with repopulating form_upload after validation. Other input fields or selectboxes are
I have problem with show or hide form in Window Form Application. I start

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.