Ayende, thanks for reply. I have tried using a separate queue per
subscriber. For example, (with just 1 publisher and 1 subscriber) I
have a publisher queue called "my.queue" and a subscriber queue called
"my.subscriber1". Configured as below. However, with this
configuration I do not receive any messages. I have tried with both
OnewayRhinoServiceBusFacility and the regular RhinoServiceBusFacility.
Subscriber config:
-----------------
<facility id="rhino.esb.receiver" >
<bus threadCount="1" numberOfRetries="5" endpoint="msmq://
localhost/my.subscriber1" DisableAutoQueueCreation="false" />
<messages>
<add name="My.Messages.Namespace" endpoint="msmq://
localhost/my.queue" />
</messages>
</facility>
Publisher config:
-----------------
<facility id="rhino.esb.sender" >
<messages>
<add name="My.Messages.Namespace" endpoint="msmq://localhost/
my.queue"/>
</messages>
</facility>
Log from the receiver:
----------------------
DEBUG Rhino.ServiceBus.Impl.DefaultServiceBus [(null)] Starting the
bus for Uri: msmq://computername/my.subscriber1
DEBUG Rhino.ServiceBus.Impl.DefaultServiceBus [(null)] Initating
subscription storage as message module:
Rhino.ServiceBus.Msmq.MsmqSubscriptionStorage
DEBUG Rhino.ServiceBus.Msmq.AbstractMsmqListener [(null)] Starting
msmq transport on: Uri: msmq://computername/my.subscriber1
DEBUG Rhino.ServiceBus.Msmq.MsmqSubscriptionStorage [(null)]
Initializing msmq subscription storage on: msmq://localhost/my.subscriber1;subscriptions
INFO Rhino.ServiceBus.Impl.DefaultServiceBus [(null)] Subscribing
My.Messages.Namespace.MyMessage on msmq://localhost/my.queue
DEBUG Rhino.ServiceBus.Msmq.OpenedQueue [(null)] Sending message
Rhino.ServiceBus.Messages.AddSubscription to COMPUTERNAME\private$
\my.queue, reply: COMPUTERNAME\private$\my.subscriber1
DEBUG Rhino.ServiceBus.Msmq.MsmqTransport [(null)] Send message
Rhino.ServiceBus.Messages.AddSubscription to Uri: msmq://computername/my.queue
Thanks for your help,
Andrew
On Nov 24, 11:30 am, Ayende Rahien <
aye...@ayende.com> wrote:
> Every subscriber needs to have its own queue
>
> >
rhino-tools-d...@googlegroups.com<
rhino-tools-dev%2Bunsu...@googlegroups.com>
> > .