Configuring the SWIFT data handler

To configure a SWIFT data handler for use with the connector, you must do the following:

Note:
For the SWIFT data handler to function properly, you must also create or modify business object definitions so that they support the data handler. For more information, see SWIFT field structure.

Configuring the connector meta-object

To configure the connector to interact with the SWIFT data handler, make sure that the connector-specific property DataHandlerClassName has the value com.crossworlds.DataHandlers.swift.SwiftDataHandler.

You must set the value of this property before running the connector. Doing so will enable the connector to access the SWIFT data handler when converting SWIFT messages to business objects and vice versa. For further information, see "Connector-specific properties".

Configuring the data handler child meta-object

For the SWIFT data handler, WebSphere delivers the default meta-object MO_DataHandler_Default. This meta-object specifies a child attribute of type MO_DataHandler_Swift. Table 25 describes the attributes in the child meta-object, MO_DataHandler_SWIFT.

Table 25. Child Meta-Object Attributes for the SWIFT Data Handler

Attribute Name Description Delivered Default Value
BOPrefix Prefix used by the default NameHandler class to build business object names. The default value must be changed to match the type of the business object. The attribute value is case-sensitive. Swift
DefaultVerb The verb used when creating business objects. Create
ClassName Name of the data handler class to load for use with the specified MIME type. The top-level data-handler meta-object has an attribute whose name matches the specified MIME type and whose type is the SWIFT child meta-object. com.crossworlds. DataHandlers.swift. SwiftDataHandler
DummyKey Key attribute; not used by the data handler but required by the integration broker. 1

The Delivered Default Value column in Table 25 lists the value that WebSphere provides for the default value of the associated meta-object attribute. You must ensure that all attributes in this child meta-object have a default value that is appropriate for your system and your SWIFT message type. Also, make sure that at least the ClassName and BOPrefix attributes have default values.

Note:
Use Business Object Designer to assign default values to attributes in this meta-object.

Copyright IBM Corp. 1997, 2004