Rhino service bus and binsor - do they work together

0 views
Skip to first unread message

nightwatch77

unread,
Apr 9, 2009, 4:55:31 PM4/9/09
to Rhino Tools Dev
Hi, is it possible to configure RSB using Binsor? If so, could someone
give me an example of RSB facility configuration? Thanks!

Ayende Rahien

unread,
Apr 9, 2009, 5:02:28 PM4/9/09
to rhino-t...@googlegroups.com
Yes, you could.

It is something like:


import Rhino.ServiceBus

facility RhinoServiceBusFacility
AllTypes of IMessageConsumer

rg

unread,
Apr 9, 2009, 5:10:12 PM4/9/09
to Rhino Tools Dev
And what about nested <bus> configuration?

Ayende Rahien

unread,
Apr 9, 2009, 5:18:48 PM4/9/09
to rhino-t...@googlegroups.com
Hm, yeah, forgot about that.
You can probably just configure this as is. Take a look at the sample of how to configure other facilities like that.

Do note that I never tried that, I moved much more into the fluent interface approach for doing that.

rg

unread,
Apr 10, 2009, 3:51:00 AM4/10/09
to Rhino Tools Dev
So maybe I should move to other method too if binsor is not very
popular.
I need to easily externalize my configuration and binsor allowed me to
do that easily by
loading a properties file and using them to configure the components.
What alternatives are there yet?
R

On Apr 9, 11:18 pm, Ayende Rahien <aye...@ayende.com> wrote:
> Hm, yeah, forgot about that.You can probably just configure this as is. Take
> a look at the sample of how to configure other facilities like that.
>
> Do note that I never tried that, I moved much more into the fluent interface
> approach for doing that.
>

Ayende Rahien

unread,
Apr 10, 2009, 4:14:16 AM4/10/09
to rhino-t...@googlegroups.com
I generally use the fluent interface now, and the XML file just for configuration purposes.
This means that my configuration is cut down to real admin level config, so it is not a chore.

Tom Allard

unread,
Apr 15, 2009, 10:31:03 AM4/15/09
to Rhino Tools Dev

Something like this?

facility "rhino.esb", RhinoServiceBusFacility:
configuration:
bus:
@threadCount = 1, @numberOfRetries = 5, @endpoint="msmq://
localhost/somequeue
messages(keyvalues, item: add, key: name, value: endpoint):
"Messages" = "msmq://localhost/someotherqueue"

rg

unread,
Jun 8, 2009, 3:03:10 PM6/8/09
to Rhino Tools Dev
Tom, I'm not familiar with the 'keyvalues' construct and can't guess
how to add two message entries - this doesn't work for me:

messages(keyvalues, item: add, key: name, value: endpoint):
"NGinnBPM.Runtime.Events" = endp
"NGinnBPM.Runtime.Messages" = endp

Can you help?
Thx
Rafal
Reply all
Reply to author
Forward
0 new messages