Permalink
Browse files

Fixed ReadyForWork queue creation upon deployment with FlatQueueStrat…

…egy (MSMQ 3.0)
  • Loading branch information...
jberezanski authored and CoreyKaylor committed Sep 4, 2012
1 parent 3ee1963 commit f8815e4d3d3e9babc27e6d3ee783ed06aa25cbfa
Showing with 5 additions and 0 deletions.
  1. +5 −0 Rhino.ServiceBus/Msmq/FlatQueueStrategy.cs
@@ -67,6 +67,11 @@ public MessageQueue[] InitializeQueue(Endpoint queueEndpoint, QueueType queueTyp
MsmqUtil.OpenOrCreateQueue(GetKnownWorkersQueuePath(), QueueAccessMode.SendAndReceive, queue),
MsmqUtil.OpenOrCreateQueue(GetKnownEndpointsQueuePath(), QueueAccessMode.SendAndReceive, queue),
};
+ case QueueType.Raw:
+ return new[]
+ {
+ queue,
+ };
default:
throw new ArgumentOutOfRangeException("queueType", "Can't handle queue type: " + queueType);
}

0 comments on commit f8815e4

Please sign in to comment.