Thanks Ryan, that is what I was looking for.

On Friday, March 15, 2013 5:09:04 PM UTC-4, Ryan wrote:
>
> If you found SendToSelf you may have also seen HandleCurrentMessageLater, 
> which is what you'd normally do within a consumer for the current message.  
> There is also DelaySendToSelf if you want to handle the message at some 
> later point in time.
>
> On Thursday, March 14, 2013 12:34:59 PM UTC-6, Dan Ling wrote:
>>
>> Ok I've discovered that the ServiceBus.SendToSelf method accomplishes 
>> this, but my second question is, does RSB provide any way to put a 
>> "slowdown" on a message that is failing repeatedly and rapidly?
>>
>> On Thursday, March 14, 2013 2:26:06 PM UTC-4, Dan Ling wrote:
>>>
>>> Hi,
>>>
>>> I am new to Rhino Service Bus, and I am wondering, is it possible 
>>> and/or recommendable to do the following?
>>>
>>> public class MyMessageConsumer : ConsumerOf<MyMessage>
>>> {
>>>   public void Consume(MyMessage message)
>>>   {
>>>     try
>>>     {
>>>       ProcessMessage(message.data);
>>>     }
>>>     catch(Exception)
>>>     {
>>>       //Here I want to place the message back on the queue, so that I 
>>> can reprocess it.
>>>     }
>>>   }
>>>
>>> }
>>>
>>

-- 
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 rhino-tools-dev+unsubscr...@googlegroups.com.
To post to this group, send email to rhino-tools-dev@googlegroups.com.
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