do you have consumers of NewNotice in client1 or client 2?
On Fri, Jan 21, 2011 at 12:42 PM, Jason Meckley <[email protected]>wrote:
> I'm spiking a simple desktop UI that has 3 parts:
> client1 - winform
> client2 - sys tray icon
> server - RSB Host
>
> client1 and client2 are configured to send messages to the server. the
> server is configured to receive messages and send messages to both clients.
> <facility id="rhino.esb">
> <bus name="Server" threadCount="3" numberOfRetries="3"
> endpoint="rhino.queues://localhost:1000/Server" />
> <messages>
> <add name="Common.Messages.ToServer"
> endpoint="rhino.queues://localhost:1000/Server" />
> <add name="Common.Messages.ToClients"
> endpoint="rhino.queues://localhost:1001/ClientOne" />
> <add name="Common.Messages.ToClients"
> endpoint="rhino.queues://localhost:1002/ClientTwo" />
> </messages>
> </facility>
>
> and the server's consumer
> public class RecieveNewNotice : ConsumerOf<NewNotice>
> {
> public void Consume(NewNotice message)
> {
> bus.Send(new NoticeRecieved {OriginatingMessageSentAt =
> message.SentAt});
> }
> }
>
> calling Send will send it to the first message registered from the configs.
> no surprise there. If I Publish the message, instead of sending it, I
> receive a "No Subscribers" exception. Why is that? How can I configure the
> server to send a message to all clients?
>
> --
> 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]<rhino-tools-dev%[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.