Hi Nathan,

My config below, after this settings RQ purging old data. If you wait
you can see on console output purging old data string.

qm.NumberOfReceivedMessagesToKeep = 100;
qm.NumberOfMessagesToKeepOutgoingQueues = 150;
qm.OldestMessageInProcessedQueues = TimeSpan.FromMinutes(1);
qm.OldestMessageInOutgoingQueues = TimeSpan.FromMinutes(1);

But i have a questions for you.

1- How did you reach this properties
sender.NumberOfMessagesToKeepInProcessedQueues and others
I check all methods bur queuemanager is private and i had to change rq
code and i wrote qm accessor. Can you send your implementation.

2- Another thing i can't do LinqPad query. Can you explain how to run
linq pad query.

 Thanks.

2011/11/18 Nathan <[email protected]>:
> Thanks for the clarification.  Ive since built a test app to learn
> more of RQ and it looks really nice.   One problem I am having in the
> store-forward pattern is how to purge the message once its been
> forwarded.  Inspecting via Linqpad I do see that the messages are
> getting "consumed" but the size of the the queue directory never
> shrinks.  Is there a command to reclaim that space?
>
> Ive tried
>
> sender.NumberOfMessagesToKeepInProcessedQueues = 0;
> sender.NumberOfMessagesToKeepOutgoingQueues = 0;
> sender.NumberOfReceivedMessagesToKeep = 0;
>
> but they dont have any effect on the directory size.
>
>
>
> On Nov 18, 3:00 am, Jason Meckley <[email protected]> wrote:
>> good to know, thanks Corey
>
> --
> 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.
>
>

-- 
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.

Reply via email to