org.mule.util.queue
Class SerialisationPersistence
java.lang.Object
org.mule.util.queue.SerialisationPersistence
- All Implemented Interfaces:
- PersistenceStrategy
- public class SerialisationPersistence
- extends java.lang.Object
- implements PersistenceStrategy
SerialisationPersistence
persists event objects to disk.
Requires that the event payload is serializable.
- Version:
- $Revision: 1.3 $
- Author:
- Ross Mason
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_QUEUE_STORE
public static final java.lang.String DEFAULT_QUEUE_STORE
logger
protected static transient Log logger
- logger used by this class
SerialisationPersistence
public SerialisationPersistence()
store
public void store(UMOEvent event)
throws PersistentQueueException
- Specified by:
store
in interface PersistenceStrategy
- Throws:
PersistentQueueException
remove
public boolean remove(UMOEvent event)
throws PersistentQueueException
- Specified by:
remove
in interface PersistenceStrategy
- Throws:
PersistentQueueException
initialise
public void initialise(BoundedChannel queue,
java.lang.String componentName)
throws InitialisationException
- Specified by:
initialise
in interface PersistenceStrategy
- Throws:
InitialisationException
getQueueStore
public java.lang.String getQueueStore()
setQueueStore
public void setQueueStore(java.lang.String queueStore)
dispose
public void dispose()
throws PersistentQueueException
- Specified by:
dispose
in interface PersistenceStrategy
- Throws:
PersistentQueueException
Copyright © 2003-2005 SymphonySoft Limited. All Rights Reserved.