nServiceBus registering subscribers but subscribers not receiving messages

Posted by Rob Ellis on Stack Overflow See other posts from Stack Overflow or by Rob Ellis
Published on 2011-01-16T12:46:42Z Indexed on 2011/01/16 12:53 UTC
Read the original article Hit count: 195

Filed under:

My subscriber queue isn't picking up messages.

The only unusual aspect to this is that the publisher is receiving messages which are generated from a website (and then a class library) which are then WCF'd to the publisher who publishes on behalf of the website/class library.

If I remove the publisher's <add Messages=""> then I get an error saying the publisher doesn't know where to route the messages.

Help! I've almost cut'n'pasted the WcfIntegration and PubSub samples, so I don't know why it isn't working!

PUBLISHER:

  <MsmqTransportConfig
    InputQueue="RSApp_InputQueue"
    ErrorQueue="error"
    NumberOfWorkerThreads="1"
    MaxRetries="5"
  />

  <UnicastBusConfig
    DistributorControlAddress=""
    DistributorDataAddress=""
    ForwardReceivedMessagesTo="">
    <MessageEndpointMappings>
      <add Messages="Messages" Endpoint="RSApp_InputQueue" />
    </MessageEndpointMappings>
  </UnicastBusConfig>

SUBSCRIBER:

  <!-- SUBSCRIBER -->
  <MsmqTransportConfig
    InputQueue="RSApp_SubscriberQueue"
    ErrorQueue="error"
    NumberOfWorkerThreads="1"
    MaxRetries="5"
  />

  <UnicastBusConfig
    DistributorControlAddress=""
    DistributorDataAddress=""
    ForwardReceivedMessagesTo="">
    <MessageEndpointMappings>
      <add Messages="Messages" Endpoint="RSApp_InputQueue" />
    </MessageEndpointMappings>
  </UnicastBusConfig>

© Stack Overflow or respective owner

Related posts about nservicebus