xmlBlaster 1.6.2 client API

org.xmlBlaster.util
Class FileDumper

java.lang.Object
  extended byorg.xmlBlaster.util.FileDumper

public class FileDumper
extends java.lang.Object

Dump message to file. The XML is in XmlScript format and can be refed.

 Configuration:
 xmlBlaster/FileDumper/directoryName  -> ${user.home}/FileDumper
 xmlBlaster/FileDumper/forceBase64    -> false
 

Author:
Marcel Ruff

Constructor Summary
FileDumper(Global glob)
           
 
Method Summary
 java.lang.String dumpMessage(KeyData keyData, byte[] content, QosData qosData)
          Dump dead message to hard disk.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileDumper

public FileDumper(Global glob)
           throws XmlBlasterException
Method Detail

dumpMessage

public java.lang.String dumpMessage(KeyData keyData,
                                    byte[] content,
                                    QosData qosData)
Dump dead message to hard disk. The file name is the receive timestamp of the message, for example /home/xmlblast/tmp/2004-10-23_18_52_39_87.xml

Returns:
fileName

xmlBlaster 1.6.2 client API

Copyright © 1999-2007 The xmlBlaster.org contributers.