Queue flushing [message #696080] |
Wed, 13 July 2011 04:26  |
Eclipse User |
|
|
|
Hi,
Is there a way to flush the queue of the records upon the start of SMILA?
Because by default the records in the queue are persisted through more runs of the system and this causes problems during the testing phase (where for example I made a mistake and I want to start processing from scratch).
Sometimes there are so many records accumulated that it will take a huge amount of time to process all of them, also considering the fact that this processing would likely be wrong.
So, is there a command or a setting to tell the system to flush every record present in the queue?
Thank you!
|
|
|
Re: Queue flushing [message #696150 is a reply to message #696080] |
Wed, 13 July 2011 06:29  |
Eclipse User |
|
|
|
Hi,
you can try to use the MQ JMX commands (e.g. purge) to do this. In smila
there isno "flush" -- or more correctly: "delete" of all records in the MQ.
However, you can accomplish that for testing with a transient blackboard
(set sync of router and listener to false) if that works for u (i.e.
dont need to transport attachments.)
--
thomas menzel aka tom
On 13.07.2011 10:26, Lox wrote:
> Hi,
> Is there a way to flush the queue of the records upon the start of SMILA?
>
> Because by default the records in the queue are persisted through more
> runs of the system and this causes problems during the testing phase
> (where for example I made a mistake and I want to start processing from
> scratch).
> Sometimes there are so many records accumulated that it will take a huge
> amount of time to process all of them, also considering the fact that
> this processing would likely be wrong.
>
> So, is there a command or a setting to tell the system to flush every
> record present in the queue?
>
> Thank you!
|
|
|
Powered by
FUDForum. Page generated in 1.34337 seconds