Runtime components : Core components : Formatters : Tasks : Handling binary message : Formatting a JavaBean into binary message : Defining formatter initializer parameter in btt.xml
  
Defining formatter initializer parameter in btt.xml
Before initializing the UDTT format component, you need to initialize the UDTT trace component:
<?xml version="1.0"?>
<btt.xml>
  <kColl id="components">
    <kColl id="format">
      <field id="initializer"
value="com.ibm.btt.format.FormatInitializer" />
      <field id="extFile" value="format.xml" />
      <kColl id="classTable">
        <field id="format" value="com.ibm.btt.format.impl.FormatDefine" />
        <field id="record" value="com.ibm.btt.format.impl.RecordFormat" />
        <field id="fInteger" value="com.ibm.btt.format.impl.IntegerFormat" />
        <field id="fString" value="com.ibm.btt.format.impl.StringFormat" />
        <field id="selfLength" value="com.ibm.btt.format.impl.SelfLength" />
      </kColl>
    </kColl>
  </kColl>
</btt.xml>
Where:
Class com.ibm.btt.format.FormatInitializer is used to initialize Formatter.
<field id="extFile" value="format.xml" /> indicates that all Formatter definition is specified in format.xml.
<kColl id="classTable"> specifies all the supported tag names in formatter definition and their corresponding implementation class.
Go up to
Formatting a JavaBean into binary message