<commit_before><?xml version="1.0" ?>
<!--

  $Id$

  This QSP config starts a MUX that connects thru an ISOChannel
  to dummyserver example (that have to be running somewhere in your
  network)

    ________       ________                     ____________
   | Sender |     |        |                   |            |
   |  Task  |_____| ISOMUX |                   | ISOChannel |__>> dummyserver
   |________|     |________|\                 /|____________|
     ^                       __/ISOFilters/__/
     \__0800.xml

  It also shows how to configure a RotateLogListener
  (please change file's property value)

  example such as isoserver.xml in order to get familiar with QSP

-->

<!DOCTYPE qsp-config SYSTEM "../dtd/qsp-config.dtd"> 
<qsp-config logger="qsp" realm="qsp" reload="5000">
 <logger name="qsp">
    <log-listener class="org.jpos.util.ProtectedLogListener">
      <property name="protect" value="2 35 45 55" />
      <property name="wipe"    value="48" />
    </log-listener>
    <!-- 
    <log-listener class="org.jpos.util.SimpleLogListener"/>
    <log-listener class="org.jpos.util.RotateLogListener">
      <property name="file" value="/tmp/qsp.log" />
      <property name="window" value="86400" />
      <property name="copies" value="5" />
      <property name="maxsize" value="1000000" />
    </log-listener>
    -->
    <log-listener class="org.jpos.util.Log4JListener">
      <property name="config" 
               value="src/ext-examples/qsp/dummyclient/log4j.xml" />
      <property name="priority" value="info" />
      <property name="watch" value="5000" />
    </log-listener>
 </logger>

 <!-- sequencer name="test" 
	    class="org.jpos.core.ReliableSequencer"
	    logger="qsp" realm="test.sequencer" >
  <property name="logdir" value="/tmp/test-sequencer" />
 </sequencer -->

 <sequencer name="test" 
	    class="org.jpos.core.VolatileSequencer"
	    logger="qsp" realm="test.sequencer" >
 </sequencer>

 <mux name="dummyclient.mux" 
    logger="qsp" realm="dummyclient.mux" connect="yes">
  <channel name="dummyclient.channel" 
          class="org.jpos.iso.channel.ASCIIChannel" 
          packager="org.jpos.iso.packager.GenericPackager"
	  packager-config="src/config/packager/iso87ascii.xml"
	  packager-logger="qsp" 
	  packager-realm="packager"
          type="client" logger="qsp" realm="dummyclient.channel"
          socket-factory="org.jpos.iso.SunJSSESocketFactory"
	  connect="no" >

   <property name="host" value="localhost" />
   <property name="port" value="8000" />

   <!-- filter class="org.jpos.iso.filter.XSLTFilter" direction="outgoing">
    <property name="xsltfile" <commit_msg>commented out SSL factory stuff<commit_after><?xml version="1.0" ?>
<!--

  $Id$

  This QSP config starts a MUX that connects thru an ISOChannel
  to dummyserver example (that have to be running somewhere in your
  network)

    ________       ________                     ____________
   | Sender |     |        |                   |            |
   |  Task  |_____| ISOMUX |                   | ISOChannel |__>> dummyserver
   |________|     |________|\                 /|____________|
     ^                       __/ISOFilters/__/
     \__0800.xml

  It also shows how to configure a RotateLogListener
  (please change file's property value)

  example such as isoserver.xml in order to get familiar with QSP

-->

<!DOCTYPE qsp-config SYSTEM "../dtd/qsp-config.dtd"> 
<qsp-config logger="qsp" realm="qsp" reload="5000">
 <logger name="qsp">
    <log-listener class="org.jpos.util.ProtectedLogListener">
      <property name="protect" value="2 35 45 55" />
      <property name="wipe"    value="48" />
    </log-listener>
    <!-- 
    <log-listener class="org.jpos.util.SimpleLogListener"/>
    <log-listener class="org.jpos.util.RotateLogListener">
      <property name="file" value="/tmp/qsp.log" />
      <property name="window" value="86400" />
      <property name="copies" value="5" />
      <property name="maxsize" value="1000000" />
    </log-listener>
    -->
    <log-listener class="org.jpos.util.Log4JListener">
      <property name="config" 
               value="src/ext-examples/qsp/dummyclient/log4j.xml" />
      <property name="priority" value="info" />
      <property name="watch" value="5000" />
    </log-listener>
 </logger>

 <!-- sequencer name="test" 
	    class="org.jpos.core.ReliableSequencer"
	    logger="qsp" realm="test.sequencer" >
  <property name="logdir" value="/tmp/test-sequencer" />
 </sequencer -->

 <sequencer name="test" 
	    class="org.jpos.core.VolatileSequencer"
	    logger="qsp" realm="test.sequencer" >
 </sequencer>

 <mux name="dummyclient.mux" 
    logger="qsp" realm="dummyclient.mux" connect="yes">
  <channel name="dummyclient.channel" 
          class="org.jpos.iso.channel.ASCIIChannel" 
          packager="org.jpos.iso.packager.GenericPackager"
	  packager-config="src/config/packager/iso87ascii.xml"
	  packager-logger="qsp" 
	  packager-realm="packager"
          type="client" logger="qsp" realm="dummyclient.channel"
	  connect="no" >

   <!--  add 
         socket-factory="org.jpos.iso.SunJSSESocketFactory"
         to test SSL stuff -->

   <property name="host" value="localhost" />
   <property name="port" value="8000" />

   <!-- filter class="org.jpos.iso.filter.XSLTFilter" direction="outgoing">
    <property name="xsltfile" 
{'fraction_non_alphanumeric': 0.1507565850924715, 'fraction_numerical': 0.01643937978703531, 'mean_word_length': 2.7284122562674096, 'pattern_counts': {'":': 0, '<': 72, '<?xml version=': 2, '>': 74, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 10}, 'pii_count': 0, 'substrings_counts': 8, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7145912', 'n_tokens_mistral': 1801, 'n_tokens_neox': 1654, 'n_words': 313}