Rhino Service Bus and MSMQ 3.0

2 views
Skip to first unread message

Marcus Rehm

unread,
Aug 28, 2009, 2:59:32 PM8/28/09
to Rhino Tools Dev
Hi,

I'm trying to run the RSB starbucks sample tests and the RSB tests too
on a windows XP box with MSMQ 3.0 the problem is that every test i run
i get the following error:

Starbuck Test (Can_by_coffee_from_starbucks):

System.Reflection.TargetInvocationException:
System.Reflection.TargetInvocationException : Uma exceção foi
acionada pelo destino de uma chamada.
---- System.Messaging.MessageQueueException : Invalid queue path name.
em System.RuntimeTypeHandle.CreateInstance(RuntimeType type,
Boolean publicOnly, Boolean noCheck, Boolean& canBeCached,
RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck)
em System.RuntimeType.CreateInstanceSlow(Boolean publicOnly,
Boolean fillCache)
em System.Activator.CreateInstance(Type type, Boolean nonPublic)
em Xunit.Sdk.LifetimeCommand.Execute(Object testClass)
em
Xunit.Sdk.ExceptionWrapperCommand.<>c__DisplayClass1.<Execute>b__0()
em Xunit.Sdk.ExceptionWrapperCommand.RunAndCatch(ExecutionDelegate
delegate)
----- Inner Stack Trace -----
em System.Messaging.MessageQueue.ResolveFormatNameFromQueuePath
(String queuePath, Boolean throwException)
em System.Messaging.MessageQueue.get_FormatName()
em System.Messaging.MessageQueue.Purge()
em Rhino.ServiceBus.Tests.MsmqTestBase..ctor() na C:\Documents and
Settings\0531\Meus documentos\Visual Studio 2008\Projects\3 Parties
\rhino-tools\esb\Rhino.ServiceBus.Tests\MsmqTestBase.cs:linha 78
em Rhino.ServiceBus.Tests.PublishingTests..ctor() na C:\Documents
and Settings\0531\Meus documentos\Visual Studio 2008\Projects\3 Parties
\rhino-tools\esb\Rhino.ServiceBus.Tests\PublishingTests.cs:linha 13

I've changed some points, switch the ";" to "#" in the name of the
subqueues. Now the tests fails with the InvalidOperationException
("didn't get my coffee in time").
With the RSB Tests the above error stills on.

I read at some blog that there is a patch for msmq 3.0, where can i
get this? I'm running the last revision on
https://rhino-tools.svn.sourceforge.net/svnroot/rhino-tools/trunk.

Thanks in advance!

Tyler Burd

unread,
Aug 28, 2009, 5:11:42 PM8/28/09
to rhino-t...@googlegroups.com
It's actually supported, you just have to set the UseFlatQueue property of the RhinoServiceBusFacility to true.  This way it won't use subqueues, but it will use sibling queues instead.

Marcus Rehm

unread,
Aug 31, 2009, 5:46:14 PM8/31/09
to Rhino Tools Dev
Hi Tyler,

Thanks for your help! I will try this...
Do you know any place where i can get some docs about RSB? I tried the
Ayende's blog but i'm new to this and was looking for something more
basic.

Thankx!


On 28 ago, 18:11, Tyler Burd <tylerb...@gmail.com> wrote:
> It's actually supported, you just have to set the UseFlatQueue property of
> the RhinoServiceBusFacility to true.  This way it won't use subqueues, but
> it will use sibling queues instead.
>

Jason Meckley

unread,
Aug 31, 2009, 7:40:03 PM8/31/09
to Rhino Tools Dev
honestly the starbucks example is very basic and a good starting
point.

Tyler Burd

unread,
Sep 1, 2009, 10:31:11 AM9/1/09
to rhino-t...@googlegroups.com
I spent a weekend diving into the code base to figure things out (still need to look into the load balancer).  I plan on writing a series of posts about it in the near future, and this list's archives are a good source of info as well.  RSB is really easy to use once you get the basics down, and it has been an absolute lifesaver for me.  By far my favorite of the ESB tools I've looked into (NServiceBus and Mass Transit being the others).

-tyler

Ayende Rahien

unread,
Sep 1, 2009, 11:56:40 AM9/1/09
to rhino-t...@googlegroups.com
Would love reading that.
Reply all
Reply to author
Forward
0 new messages