The functionallity is not broken, I think we need to rewrite only the Starbuck example changing the subqueues approach using simple queues only. Doing this there's no need to make changes on the esb core, only in the example.
This way queue names won't have the ';' in names which is not allowed in MSMQ 3.0) On Jan 28, 6:00 pm, Jeff <[email protected]> wrote: > I too replaced a few semicolons with pound symbols within the service > bus source code to force the sample to run. The reason why your > coffee did not arrive is because the method > BaristaSaga::SubmitOrderIfDone() has an if statement that evaluates to > false if State.GotPayment == false. The GotPayment variable is set > when the method CustomerUserInferface::ShouldPayForDrink() prompts the > user to enter a "y/n" via the console. Unfortunately, this example > races forward without waiting for the operator to respond to the > payment prompt. If you enter a "y" at anytime during the demo, drink > payment is received and you will get your coffee. > > Which brings me back to my original question: Can anybody provide a > modified starbucks example that works with MSMQ 3.0 WITHOUT modifying > the service bus source code? Is it possible that the Rhino's MSMQ 3.0 > functionallity is broken? > > On Jan 27, 3:45 pm, Marcus Rehm <[email protected]> wrote: > > > I have trouble on this too. > > > To make it run I changed the ";" in subqueue name at creation time to > > "#" at OpenSubQueue method in Rhino.ServiceBus.Msmq.OpenedQueue class. > > Also change the ";" in PurgeSubqueue method in Starbucks.PrepareQueues > > class. > > > Now it's working but i got a new exception. "Didn't get my coffee in > > time" :) > > > On 27 jan, 11:45, Ayende Rahien <[email protected]> wrote: > > > > I think that the PrepareQueues itself assumes MSMQ 4, you can commit it > > > for > > > the demo. > > > > On Wed, Jan 27, 2010 at 4:43 PM, Jeff <[email protected]> wrote: > > > > I am running the sample on XP and I do have MSMQ installed. The > > > > Starbucks example throws an exception in the > > > > PrepareQueues::PurgeSubqueue() method when it attempts to create a sub > > > > queue. The message queue creation fails and the next call to purge on > > > > the non-existant queue throws an exception: > > > > > System.Messaging.MessageQueueErrorCode.IllegalQueuePathName > > > > > I can see in my private message queues that the sample successfully > > > > created the queue "starbucks.barista.balancer" before terminating. I > > > > am aware that MSMQ 3.0 does not support sub queues. It appears that > > > > the the starbucks sample was not written in a way to demonstrate the > > > > capability of Rhino Service Bus to create a flatqueue if the OS does > > > > not support subqueues. > > > > > Thanks, > > > > Jeff > > > > > On Jan 26, 11:48 am, Ayende Rahien <[email protected]> wrote: > > > > > You should be able to just run it on XP / 2003 machine. > > > > > > On Tue, Jan 26, 2010 at 6:01 PM, Jeff <[email protected]> wrote: > > > > > > Can somebody provide a modified starbucks example or the steps that > > > > > > must be taken to get Rhino Service Bus working with MSMQ 3.0? > > > > > > > -- > > > > > > 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%2bunsubscr...@googlegroups.com> > > > > <rhino-tools-dev%2bunsubscr...@googlegroups.com> > > > > > > . > > > > > > For more options, visit this group at > > > > > >http://groups.google.com/group/rhino-tools-dev?hl=en.-Hidequotedtext > > > > - > > > > > > - Show quoted text - > > > > > -- > > > > 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%2bunsubscr...@googlegroups.com> > > > > . > > > > For more options, visit this group at > > > >http://groups.google.com/group/rhino-tools-dev?hl=en.-Hide quoted text - > > > - Show quoted text - > > -- 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.
