.net - Find old messages in MSMQ -
i scenario there 2 queues. "error" , "myqueue".
the messages dumped myqueue , processed there. if fail moved error queue. administration might move message myqueue processing again.
my task if scan/peek 2 queue find , count messages has been cycling around more 1 hour.
it seems
message.senttime message.arrivedtime
are both useless, since updated each time message enters queue.
on solution place timestamp in body of message, require me open messages determine if message "old".
any better alternatives?
the problem is not same message cycling round queues. "moving" message deleting original , creating new 1 based on original contents, why can't use sent , arrived times.
do moved messages have new unique messageid values each time? if not maybe generate table matching messageid time created.
cheers
john breakwell
Comments
Post a Comment