Skip to main content



      Home
Home » Archived » SeMantic Information Logistics Architecture (SMILA) » Queue flushing
Queue flushing [message #696080] Wed, 13 July 2011 04:26 Go to next message
Eclipse UserFriend
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
Eclipse UserFriend
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!
Previous Topic:Another ClassLoader Problem
Next Topic:0.9 M1 is out!
Goto Forum:
  


Current Time: Wed Jul 23 06:25:11 EDT 2025

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

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

Back to the top