Вы находитесь на странице: 1из 2

Java Temenos Connector Server

Plugins description
tcplistener.jar
What is as Plugin?

Since version 1.3.1 of the Temenos Connector Server - TCS -, All Listener, Adapter and
Formatters are packaged as plug- ins. This means that there are individual components,
easy to install or remove, having there own settings and purposes. Each plug- in can have
a different version of the core TCS. This philosophy makes maintenance easier. You can
write your own plug- in. For that, please refer to the Guide for writing a plugin.pdf file.

Recall that :
- AListener is supposed to receive messages from the external world (eg: TCP,
SSL, MQSeries, Files, .)
- An Adapter will, in opposite to a listener, process the message received.
- A Formatter will modify the request or the response. Formatters are attached to
adapters the same way adapters are attached to Listener (See picture)

<TCSERVER>
<MESSAGEFORMATTERS>
. . .
</MESSAGEFORMATTERS>

<ADAPTERS>
. . .
</ADAPTERS>

<LISTENERS>
. . .
</LISTENERS>
</TCSERVER>

How to install it?

A plug- in is - usually - just a java Archive (*.jar). However, this is possible that multiple
jars are necessary for the plug- in to work. In any cases, all files needs to be just copied in
the /ext directory.
Each plug- in can have a different configuration. Depending the plug- in type (Listener,
Adapter or Formatter), this configuration will be in different XML blocks (See main
documentation).
PLUGIN : Type=tcp

Files tcplistener.jar
Type : Listener
Compatible 1.3.1
with JVM
Version :
Description : Default listener for communicating with the TCC (Client API).
This listener needs only one parameter : A unique TCP Port number.
Configuration <LISTENER Id="tcp.test" type="tcp" active="true">
sample : <ADAPTERID>t24</ADAPTERID>
<PORT>7001</PORT>
</LISTENER>
Notes : This plug- in is optional

The <PORT> tag indicates The port the plug-in is listening on. The equivalent at the TCClient level, (in
channels.xml) will look like this :

<CHANNEL>
<NAME> tcp.sample </NAME>
<TIMEOUT> 120 </TIMEOUT>
<ADAPTER>
<TYPE> tcp </TYPE>
<PORT> 7001 </PORT>
<SUPPLIER>
<INITIATOR>
<HOSTNAME> 127.0.0.1 </HOSTNAME>
</INITIATOR>
</SUPPLIER>
</ADAPTER>
</CHANNEL>

Вам также может понравиться