Adapter registration file
The adapters.xml registration file contains a single tag for each adapter, including a number of attributes to provide information about the adapter.
<UserAdapter name="File Sample" alias="SFILE" id="201" type="file"
library="filesamp" vendor="abc"/>
Attribute | Description |
---|---|
name | Name of the adapter used in the adapter list in the Map Designer and Information Flow Designer (for example, Database or MQSeries® (server)). |
alias | Abbreviated name of the adapter that is used in GET and PUT functions as well as command line overrides (for example, DB for database or MQS for MQSeries®). |
id | Identification type of the adapter. For adapters developed by IBM®, these numbers are between 0 and 200. For external, user-developed adapters, the id numbers should be >= 200. |
type | Class type of the adapter. For example, database (db) or messaging (msg). |
library | Name of the DLL or shared library. The DLL/SO/SL file extension should not be provided. In addition, for UNIX™ adapters, the name should not be prefixed with lib. This will be added when accessing the adapter. |
vendor | Name of the adapter manufacturer. The vendor name is displayed along with the adapter name in the Map Designer. |
Adapters.xml
example
<Adapters>
<M4Adapters>
<M4Adapter name="File" alias="FILE" id="0" type="file"
library="m4file"/>
<M4Adapter name="Buffer" alias="BUF" id="4" type="buff" />
<M4Adapter name="Database" alias="DB" id="5" type="db"
library="dbutil"/>
<M4Adapter name="Application" alias="APP" id="6" type="app" />
</M4Adapters>
<UserAdapters>
<UserAdapter name="File Sample" alias="SFILE" id="201" type="file"
library="filesamp" vendor="abc"/>
</UserAdapters>
</Adapters>