The Receive method specifies where a message is routed to, not where it is
receiving messages at, confusing I agree. From the sending point of view it
routes a particular namespace to an endpoint. So in your "multiple
endpoints" they would need to configure who the "owner endpoint" is.

So owner endpoint would use
config.Bus("msmq://localhost/servicebus.logging")

Other endpoints would use
config.Bus("msmq://localhost/servicebus.service") //for each endpoint
sending messages
.Receive("Application.Common.Messages",
"msmq://localhost/servicebus.presentation");

On Thu, Jun 9, 2011 at 3:31 AM, Jens Melgaard <[email protected]> wrote:

> Hello.
>
> Can anyone provide an example how one would go around with receiving
> the same type of messages but from a multitude of endpoints.
> I am not to much into Rhino Bus yet, but this wont work:
>
> config.Bus( "msmq://localhost/servicebus.logging");
> config.Receive("Application.Common.Messages", "msmq://localhost/
> servicebus.extention");
> config.Receive("Application.Common.Messages", "msmq://localhost/
> servicebus.service");
> config.Receive("Application.Common.Messages", "msmq://localhost/
> servicebus.presentation");
>
> The entire concepts is still a bit lost to me so the above may be
> completely stupid, yet the need is to received same type of messages
> from multiple "applications".
> As the example it could be sending logging over the bus to a common
> place, for log in particular it might not be the best example, but it
> serves its purpose for what I need.
>
> Kind Regards
> Jens
>
> --
> You received this message because you are subscribed to the Google Groups
> "Rhino Tools Dev" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/rhino-tools-dev?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Rhino Tools Dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rhino-tools-dev?hl=en.

Reply via email to