4 Capscan Matchcodeとの統合
この章の内容は次のとおりです。
ソフトウェア要件
Capscan MatchcodeソフトウェアがEDQサーバーからアクセスできるシステムにインストールされている必要があります。詳細は、http://www.gbgplc.com/products/matchcode/
にあるGBGroup Matchcodeを参照してください。
Capscan MatchcodeライブラリのEDQへの統合
EDQには、Capscan Matchcode APIに対するコネクタが含まれます。EDQには、GBGroupのCapscan Matchcode APIに対するコネクタが含まれます。このAPIでは、住所検証およびクレンジング機能が提供されます。このAPIでは、住所検証およびクレンジング機能が提供されます。次のようにCapscan MatchcodeライブラリをEDQに統合します。
Matchcode APIのカスタマイズ
Capscan Matchcode APIの様々な動作は、capscan.properties
ファイルを使用して制御できます。次のプロパティを設定できます。
-
capscan.jar
-
EDQインストレーションの
capscan.jar
クライアントAPIファイルの場所です。相対パスを指定する場合、そのパスは、EDQ構成パス内のいずれかのディレクトリを基準とする必要があります。デフォルト値は、相対パスのcapscan/capscan.jar
です。 -
server.host
-
Capscan Matchcodeが実行されているマシンのIPアドレス。
-
connection.timeout
-
Capscan Matchcode APIが検索と返却を中断するまでの秒単位のタイムアウト期間(0 (ゼロ)のタイムアウト期間は検索の時間制限がないことを示します)。
-
connection.type
-
Capscan Matchcode APIとの通信時に使用する接続モード。デフォルトの接続モードは、
CONNECTIONLESS
です。それ以外のオプションは次のとおりです。-
CONNORIENTED
-
STATELESS
-
WEBCONNECTION
-
ONDEMAND
これらの接続モードの詳細は、Capscan Matchcode APIのドキュメントを参照してください。
-
-
number.capscan.connections
-
EDQがCapscan Matchcode APIに対して作成する接続の数。
-
number.threads
-
Capscan Matchcode APIとの通信時に使用するスレッドの数。
capscan.properties
ファイルのデフォルトの内容は、次のとおりです。
# This configuration file is configuring the CapScan processor # to be able to communicate with the CapScan server # # Capscan server name server.host = 127.0.0.1 # # Connection timeout in seconds (0 means no time out) connection.timeout = 30 # # The connection type to make to the CapScan server. # Possible values are: # # CONNORIENTED # CONNECTIONLESS # STATELESS # WEBCONNECTION # ONDEMAND connection.type = CONNECTIONLESS # # The number of connections the director server should # make to the CapScan server number.capscan.connections = 1 # # The number of threads that should be used to # communicate with the CapScan server number.threads = 1