History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: MULE-3280
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Critical Critical
Assignee: Andreas Guenther
Reporter: Andreas Guenther
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Mule

FilePersistenceStrategy deletes peeked file when queue.peek() is called

Created: 22/Apr/08 07:56 PM   Updated: 23/Apr/08 04:42 PM
Component/s: Core: Queues (SEDA) / Persistence
Affects Version/s: 2.0.0-M2
Fix Version/s: 2.0.1

Time Tracking:
Not Specified

Issue Links:
Block
 
Duplicate
 

Labels:
User impact: Medium


 Description  « Hide
Fixing MULE-2536 revealed this issue. An updated version of FilePersistenceTestCase.testPeek() covers this scenario now and for this reason will stay disabled until fixed.

 All   Comments   Work Log   Change History   Transitions   FishEye      Sort Order: Ascending order - Click to sort in descending order
Andreas Guenther - 22/Apr/08 07:59 PM
It's worth noting that the queue count doesn't change and ultimately leads to a file not found error when trying to call queue.take().

Andreas Guenther - 22/Apr/08 08:00 PM
Very similar if not the same. I don't know yet

Andreas Guenther - 23/Apr/08 04:34 PM
The bug turned out to be a classical cut&paste issue while implementing poll and peek I removed the remove item line and things are fine again. I am just wondering how people used this before or whether peek is actually relevant anywhere.