Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » SeMantic Information Logistics Architecture (SMILA) » Queue flushing
Queue flushing [message #696080] Wed, 13 July 2011 04:26 Go to next message
Lox  is currently offline Lox
Messages: 4
Registered: May 2011
Junior Member
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 Go to previous message
thomas menzel is currently offline thomas menzel
Messages: 81
Registered: July 2009
Member
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!


thomas menzel aka tom
Previous Topic:Another ClassLoader Problem
Next Topic:0.9 M1 is out!
Goto Forum:
  


Current Time: Wed Apr 23 17:48:19 EDT 2014

Powered by FUDForum. Page generated in 0.04751 seconds