Message consumers registration

38 views
Skip to first unread message

Pavlo Stolyar

unread,
Oct 27, 2011, 11:19:05 AM10/27/11
to rhino-t...@googlegroups.com
Hello All,

I've noticed that, when creating subscriptions for messages, Rhino service bus is lloking for message consumers only in assembly that  hosts bus or contains boostrapper. If i have assembly with consumer that is just referenced by basic project, consumers are ignored and MessagePublicationException thrown. If I create copy of consumer from referenced project in basic project - everything works fine. Is there any solution to force service bus to look for consumers in all referenced assemblies? Maybe I can preload assembly somehow or smth like that?

Thanks in advance

Corey Kaylor

unread,
Oct 27, 2011, 11:42:11 AM10/27/11
to rhino-t...@googlegroups.com
The easiest way is to do the consumer registration yourself. All of the bootstrappers give you hooks if you need to register things outside the standard ways. At some point in the future likely v3ish there will be a more standard way to do this type of thing.

--
You received this message because you are subscribed to the Google Groups "Rhino Tools Dev" group.
To view this discussion on the web visit https://groups.google.com/d/msg/rhino-tools-dev/-/XAPqE9btOk0J.
To post to this group, send email to rhino-t...@googlegroups.com.
To unsubscribe from this group, send email to rhino-tools-d...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rhino-tools-dev?hl=en.

Reply all
Reply to author
Forward
0 new messages