Search the web
Sign In
New User? Sign Up
nservicebus
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want to share photos of your group with the world? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Configuring the distributor   Message List  
Reply | Forward Message #2009 of 4410 |

Hallo everybody,

 

I'm sure my question will cause a lot of you to think: "Why don't just use google, before asking such a newbie question". The surprise is (for me, at least), I did it.  I just can't figure out, how to use the distributor.

Starting with the FullDuplex sample, I want to  switch a distributor in the middle.

 

At client side I, just changed the unicast bus config section to deliver the messages to the distributorControlBus:

 

  <UnicastBusConfig DistributorControlAddress="" DistributorDataAddress="">

    <MessageEndpointMappings>

      <add Messages="Messages" Endpoint="distributorControlBus" />

    </MessageEndpointMappings>

  </UnicastBusConfig>

 

 

When it comes to the distributor runner config, I'm not sure any more.  I guess, I have to tell the distributor something about the retrieved messages and which assembly to load for them.  Should I just uncomment the code like this:

 

<UnicastBusConfig DistributorControlAddress="" DistributorDataAddress="">

    <MessageEndpointMappings>

      <add Messages="Messages" Endpoint="messagebus" />

    </MessageEndpointMappings>

  </UnicastBusConfig>

 

Something about Endpoint="messagebus"  makes me unhappy. But I don't know what to do else.

 

And the biggest problem is the Server side.  What should I change in those sections:

<MsmqTransportConfig

    InputQueue="messagebus"

    ErrorQueue="error"

    NumberOfWorkerThreads="1"

    MaxRetries="5"

  />

   

  <UnicastBusConfig DistributorControlAddress="distributorcontrolbus@server" DistributorDataAddress="distributordatabus@server">

    <MessageEndpointMappings>

    </MessageEndpointMappings>

  </UnicastBusConfig>

 

  <MsmqSubscriptionStorageConfig Queue="subscriptions" />

 

I will appreciate any tip, hint, link or book that will help me understanding nServiceBus better.

 

Stefan Rosenberger



Sat Mar 14, 2009 10:15 am

stefanrosenb...
Offline Offline
Send Email Send Email

Forward
Message #2009 of 4410 |
Expand Messages Author Sort by Date

Hallo everybody, I'm sure my question will cause a lot of you to think: "Why don't just use google, before asking such a newbie question". The surprise is (for...
stefanrosenberger
stefanrosenb...
Offline Send Email
Mar 14, 2009
10:15 am

Stefan, That's a good question, and you were quite close to the solution, just so you know. Rather than configuring the client to send messages to ...
Udi Dahan
udidahan7
Offline Send Email
Mar 14, 2009
4:50 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help