Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsQueue flushing
https://www.eclipse.org/forums/index.php/mv/msg/220309/696080/#msg_696080
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!]]>Lox 2011-07-13T08:26:17-00:00Re: Queue flushing
https://www.eclipse.org/forums/index.php/mv/msg/220309/696150/#msg_696150
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!]]>thomas menzel2011-07-13T10:29:05-00:00