Home » activemq-parent-5.3.1-source-release » org.apache.activemq.console.command.store.amq.reader » [javadoc | source]
org.apache.activemq.console.command.store.amq.reader
public class: AMQReader [javadoc | source]
java.lang.Object
   org.apache.activemq.console.command.store.amq.reader.AMQReader

All Implemented Interfaces:
    Iterable

Reads and iterates through data log files for the AMQMessage Store
Constructor:
 public AMQReader(File file) throws InvalidSelectorException, IOException 
    Create the AMQReader to read a directory of amq data logs - or an individual data log file
    Parameters:
    file - the directory - or file
    Throws:
    IOException -
    InvalidSelectorException -
    IOException -
    InvalidSelectorException -
 public AMQReader(File file,
    String selector) throws IOException, InvalidSelectorException 
    Create the AMQReader to read a directory of amq data logs - or an individual data log file
    Parameters:
    file - the directory - or file
    selector - the JMS selector or null to select all
    Throws:
    IOException -
    InvalidSelectorException -
Method from org.apache.activemq.console.command.store.amq.reader.AMQReader Summary:
getNextMessage,   iterator,   listDataFiles
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.activemq.console.command.store.amq.reader.AMQReader Detail:
 protected MessageLocation getNextMessage(MessageLocation lastLocation) throws IllegalStateException, IOException 
 public Iterator<Message> iterator() 
 public static Set<File> listDataFiles(File directory) throws IOException 
    List all the data files in a directory