You need to delete the queue first, since it was created as transactional.

On Wednesday, November 21, 2012 10:40:26 PM UTC+7, Pavlo Stolyar wrote:
>
> Given simple bus configuration
> <bus threadCount="5" numberOfRetries="5" transactional="false" 
> endpoint="msmq://localhost/my_endpoint" />
>
> When queue was transactional, everyting was ok. But after changing 
> of transactional attribute value to false, following errors appeared:
>
> 2012-11-21 09:49:57 [Rhino Service Bus Worker Thread #1] ERROR - Could not 
> peek message from queue
> System.Messaging.MessageQueueException (0x80004005): Operation was 
> cancelled before it could be completed.
>    at System.Messaging.MessageQueue.ReceiveCurrent(TimeSpan timeout, Int32 
> action, CursorHandle cursor, MessagePropertyFilter filter, 
> MessageQueueTransaction internalTransaction, MessageQueueTransactionType 
> transactionType)
>    at System.Messaging.MessageQueue.Peek(TimeSpan timeout)
>    at Rhino.ServiceBus.Msmq.AbstractMsmqListener.TryPeek(OpenedQueue 
> queue, Message& message)
>
> I don't have an idea what could be a reason of that errors. Maybe somebody 
> have ideas? Thanks in advance
>

-- 
You received this message because you are subscribed to the Google Groups 
"Rhino Tools Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/rhino-tools-dev?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to