Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » SeMantic Information Logistics Architecture (SMILA) » Queue flushing
Queue flushing [message #696080] Wed, 13 July 2011 08:26 Go to next message
Lox  is currently offline Lox Friend
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 10:29 Go to previous message
thomas menzel is currently offline thomas menzelFriend
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: Tue Mar 19 08:17:46 GMT 2024

Powered by FUDForum. Page generated in 0.01889 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top