JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Configuring Project Components for Oracle Java CAPS Communication Adapters     Java CAPS Documentation
search filter icon
search icon

Document Information

Configuring Java CAPS Project Components for Communication Adapters

Configuring Java CAPS Adapter Connectivity Map Properties

Configuring the Adapter Connectivity Map Properties

To Configure the Inbound Adapter Properties

To Configure the Outbound Adapter Properties

SNA Inbound Adapter Connectivity Map Properties

Connectivity Map Inbound Adapter General Settings

Connectivity Map Inbound Adapter SNA Settings

Connectivity Map Inbound Adapter Connection Establishment

Connectivity Map Inbound Adapter Inbound Connection Management

Connectivity Map Inbound Adapter Inbound Schedules

Listener Schedule

Service Schedule

Connectivity Map Outbound Adapter General Settings

Connectivity Map Outbound Adapter SNA Settings

Connectivity Map Outbound Adapter Connection Establishment

Configuring CICS Adapter Connectivity Map Properties

CICS Connector

CICS Client

Connection Mode

e-Mail Inbound Adapter Connectivity Map Properties

Polling Setting

File Adapter Inbound Connectivity Map Properties

Parameter Settings -- File Adapter Inbound

File Adapter Outbound Connectivity Map Properties

Parameter Settings

HTTPS Adapter Connectivity Map Properties

HTTPS Adapter Connectivity Map Properties

HTTPS Server Adapter Connectivity Map Properties

IMS Adapter Connectivity Map Properties

Connector -- IMS Adapter Outbound

Connection Mode -- IMS Adapter Outbound

LDAP Adapter Connectivity Map Properties

Connector Section Properties

Connection Section Properties

Referrals Section Properties

Additional Referrals Section Notes

To Create a Credentials File Using the RCF Utility

To Add Credentials Information To the File

To View the Contents of the Credentials File

Security/SSL Section Properties

Additional Security/SSL Property Notes

SSL Connection Type

Verify Hostname

MSMQ Adapter Inbound Connectivity Map Properties

MSMQ Adapter Inbound Connectivity Map Properties

Identifying an MSMQ Queue

MSMQ Format Name and Host Name

MSMQ Adapter Outbound Connectivity Map Properties

MSMQ Adapter Outbound Connectivity Map Properties

Identifying an MSMQ Queue

TCP/IP Adapter Inbound Connectivity Map Properties

General Inbound Settings -- TCP/IP Adapter Inbound

TCPIP Inbound Settings -- TCP/IP Adapter Inbound

TCPIP Inbound Settings - Server Port Binding -- TCP/IP Adapter Inbound

TCPIP Inbound Settings - Client Connection Establishment -- TCP/IP Adapter Inbound

TCPIP Inbound Settings - Inbound Connection Management -- TCP/IP Adapter Inbound

TCPIP Inbound Schedules - Listener Schedule -- TCP/IP Adapter Inbound

TCPIP Inbound Settings - Service Schedule -- TCP/IP Adapter Inbound

TCPIP Inbound Settings - Envelope Message -- TCP/IP Adapter Inbound

Java CAPS 5.1.x to 6 Upgrade Procedure

TCP/IP Adapter Outbound Connectivity Map Properties

General Outbound Settings -- TCP/IP Adapter Outbound

TCPIP Outbound Settings -- TCP/IP Adapter Outbound

TCPIP Outbound Settings - Connection Establishment -- TCP/IP Adapter Outbound

TCPIP Outbound Settings - Server Port Binding

TCPIP Outbound Settings - Envelope Message

TCP/IP Adapter Outbound Connectivity Map Properties

The outbound TCP/IP adapter properties determine the adapters behavior for output operations. The outbound TCP/IP Adapter Connectivity Map properties are organized into the following sections:

General Outbound Settings — TCP/IP Adapter Outbound

The General Outbound Settings properties provides a general TCP/IP outbound configuration information. The following table lists and describes the General Outbound Setting properties.

Table 35 Connectivity Map - General Outbound Settings

Name
Description
Required Value
Max Data Size
Specifies the maximum amount of data that the programs can hold internally.
The valid range is from 1 to 2147483647 bytes (2 GB — the maximum value of the Java integer).

The configured default is 2147483647.

Scope Of State
Specifies the scope of State object, which is an OTD node. The options for this parameter are:
  • Resource Adapter Level: The State has the same life cycle as the resource adapter.

  • Persistence: The State is persisted in the storage media like file or DB (Persistence State File Location must be specified if this option is selected).

  • Connection Level: The State has the same life cycle as the connection.

  • OTD Level: The State has the same life cycle as the OTD object.

    This scope represents the life cycle of the State.

Select one of the following:
  • Resource Adapter Level

  • Connection Level

  • OTD Level

The configured default is Resource Adapter Level.

TCPIP Outbound Settings — TCP/IP Adapter Outbound

The TCPIP Outbound Settings properties presents the Java Socket options. For more information, see the JDK Javadoc. The following table lists and describes the TCP/IP Outbound Settings properties.


Note - For complete information on options referred to by these base settings, such as SO_KEEPALIVE, see the appropriate Oracle Java documentation.


Table 36 Connectivity Map - TCPIP Outbound Settings

Name
Description
Required Value
Connection Type
Specifies how the adapter establishes the TCP/IP connection:
  • Client: The adapter connects to an external server (host/port) to establish the connection. The adapter is in active mode.

  • Server: The adapter waits/listens on a particular port for an incoming connection request from an external client. Once the request is received, the adapter accepts the request and establishes the connection. The adapter is in passive mode.

Select Client or Server. Server is the default setting.

Unless you specifically require Server mode, leave this value as the default: Client.

ServerSO Timeout
Sets or gets the value of the SoTimeout for the ServerSocket, in milliseconds. Used for ServerSocket.accept(). When you set this option to a non-zero timeout, calling accept() for ServerSocket will block for only this period of time. If the timeout expires, a java.net.SocketTimeoutException (or java.net.InterruptedIOException) is thrown, though the ServerSocket remains valid.

Enable this option prior to entering the blocking operation. This parameter is used only when the Connection Type is set as Server.

An integer that indicates the SoTimeout value in milliseconds.

The default value is 60000 milliseconds (60 seconds).

The timeout must be greater than 0 (zero). A timeout value of 0 is interpreted as an infinite timeout.

Keep Alive
Specifies whether the client’s SO_KEEPALIVE option is enabled or disabled. True indicates that the server SO_KEEPALIVE option is enabled.
Select True or False.

The configured default is True.

Receive Buffer Size
Allows you to set or get the value of the client SO_RCVBUF option for the current socket, that is, the buffer size used by the operating system for input on this socket. It sets a hint as to the size of the underlying buffers used by the platform for incoming network I/O.

When used in set, this is a suggestion to the kernel, from the application, regarding the buffer sizes to use for the data that will be received over the socket.

When used in get, this must return the size of the buffer actually used by the platform when receiving in data on this socket.

An integer indicating the receive buffer size.

The configured default is 8192.

Send Buffer Size
Allows you to set or get the value of the client's SO_SNDBUF option for the current socket, that is, the buffer size used by the operating system for output on this socket.
A number indicating the send buffer size.

The configured default is 8192.

SoLinger
Specifies whether the client's SO_LINGER option is enabled or disabled.
Select True or False.

True enables the SO_LINGER option.

SoLinger Timeout
Specifies the client’s linger timeout in seconds. The maximum timeout value is platform specific. The setting only affects the socket close.
The linger timeout in seconds. The configured default is 30 seconds, indicating that the SO_LINGER option is disabled.
SoTimeout
Allows you to set or get the value of the client's SO_TIMEOUT value, in milliseconds.
The SO_TIMEOUT value in milliseconds.

The configured default value is 10000 milliseconds (10 seconds).

TcpNoDelay
Specifies whether the client’s TCP_NODELAY option (that is, Nagle’s algorithm) is enabled or disabled.
Select True or False.

True enables the TCP_NODELAY option.

Socket Factory Implementation Class Name
Enter the name of the Java class that implements the client socket factory. This class is used to create the client socket. If you have provided your own client socket implementation, enter the name of the Java class that contains this implementation. The factory implementation class must implement the following interface:
com.stc.connector.tcpip.model.factory.
TCPIPSocketFactory
A valid Java class name; the default is:
com.stc.connector.tcpip.model.
factory.TCPIPSocketFactoryIm
pl

TCPIP Outbound Settings - Connection Establishment — TCP/IP Adapter Outbound

The Client Connection Establishment properties define some of the configuration parameters used to control the connection establishment.

The following table lists and describes the TCP/IP Outbound Adapter Connectivity Map properties.


Note - This section is used only when the Connection Type is set as Client.


Table 37 Connectivity Map - TCPIP Outbound Settings - Client Connection Establishment

Name
Description
Required Value
Time to Wait Before Attempting Connection
Specifies the length of time (in milliseconds) the adapter waits before attempting to connect to the external system.
A number indicating the amount of time (in milliseconds) the adapter waits before attempting to connect.

The configured default is 0.

Always Create New Connection
Specifies whether the adapter always attempts to create a new connection when a connection establishment request is received.
  • True indicates that the adapter always attempts to create a new connection without attempting to match an existing connection.

  • False indicates that the adapter attempts to match an existing connection (managed by the container).

Select True or False.

The configured default is False.

Auto Reconnect Upon Matching Failure
Specifies whether to attempt to re-connect automatically when the adapter gets a matching connection from a container, even though this connection is not valid due to various reasons: for example, the external side of the connection is closed/reset due to the external application's logic.

This property only takes effect when the application server has an existing connection in its connection pool, not during an initial triggering when the pool is empty.

  • True indicates that the adapter discards the invalid matching connection and automatically attempts to reconnect using a new connection.

  • False indicates that the adapter does not automatically attempt to reconnect using a new connection: instead, a exception is thrown and the adapter raises the appropriate alert. The user must detect this type of failure and act appropriately.

Select True or False.

The configured default is True.

Max Connection Retry
Specifies the maximum number of times the adapter attempts to connect to a specific external TCP/IP destination (host/port) before giving up.
An integer indicating the number of times the adapter attempts to connect.
Retry Connection Interval
Specifies the amount of time (in milliseconds) the adapter waits between attempts to connect to a specific external TCP/IP destination (host/port).
An integer indicating the amount of time (in milliseconds) the adapter waits between attempts to connect. The configured default is 30000 (or 30 seconds).

TCPIP Outbound Settings - Server Port Binding

The Server Port Binding section defines the configuration parameters used for controlling the server port binding. This parameter is used only when the Connection Type is set as Server. The following table lists and describes TCP/IP Outbound Settings — Server Port Binding properties.

Table 38 Connectivity Map - TCPIP Outbound Settings - Server Port Binding

Name
Description
Required Value
Max Binding Retry
Specifies the maximum number of times the adapter attempts to bind to the specified TCP/IP port on the localhost.
An integer indicating the number of bind attempts to the specified TCP/IP port on the localhost.
Retry Binding Interval
Specifies the amount of time (in milliseconds) the adapter waits between attempts to bind to the specified TCP/IP port on the localhost.
An integer indicating the amount of time in milliseconds that the adapter attempts to bind to the specified TCP/IP port.

The configured default is 30000 (30 seconds).

TCPIP Outbound Settings - Envelope Message

These properties are the envelope message format settings for the Outbound adapter. These properties operate in the same way as those for the inbound adapter

This section explains the envelope message format properties for the server. These properties are all associated with TCP/IP enveloping. This section of the Outbound TCP/IP adapter Connectivity Map properties contains the top-level parameters as displayed in the table.

Table 39 Connectivity Map - TCPIP Outbound Settings - Envelope Message

Name
Description
Required Value
Envelope Type
Specifies the envelope type. The envelope type defines where a message starts and stops.
Enter one of the following properties denoting the envelope type:
  • BeginEndMarked

  • EndMarked

  • FixedLength

  • LengthPrefixed

  • MarkedAndFixed

  • PerActiveConnection

  • Custom

The default is BeginEndMarked.

BeginEndMarked is supported by the properties Bytes to Read, Ignore Until Char Value, and Store Until Char Value.
EndMarked is supported by the property Store Until Char Value.
FixedLength is supported by the property Bytes to Read.
LengthPrefixed is supported by the properties Width of Length and Numeric Representation.
MarkedAndFixed is supported by the property Bytes to Read, Ignore Until Char Value, and Store Until Value.
PerActiveConnection is supported by the property PerActiveConnection.
Custom is supported by the properties Custom Enveloped Class Name and Custom Defined Property.

For optimum performance, use the method receiveEnvelopedMsg() with any enveloped messages. This method uses the envelope as its ending condition, while the other receiving methods, receiveBytes() and receiveString(), use a timeout as their ending condition.


Note - For all envelope types, except MarkedAndFixed, the data is just the payload. See MarkedAndFixed for an explanation of how the data is handled by that envelope type.


Custom Enveloped Class Name
Specifies the Java class name to be used when the Envelope Type property is set to Custom.

If you are using a custom envelope you have created, using a Java Class, you can import the Java JAR file containing the class into any desired Collaboration, using the Collaboration Editor's file import feature.

The class name should be a full qualified class name, such as com.abc.MyClass. The class must implement interfaces

com.stc.connector.tcpip.ext.msg.
EnvelopedMsgReceiver

and

com.stc.connector.tcpip.ext.msg.
EnvelopedMsgSender

For more details, see Customized Enveloping.

A full Java class name.

A full qualified class name, or None if Custom is not the Envelope Type.

The configured default is None.

Customer Defined Property
Used when the Envelope Type value is set to Custom. Specifies a list of user-defined parameters. You can parse this information, such as delimiters, into your customized envelope message implementation.
A text string.
Bytes to Read
Used with the following Envelope Types:
  • FixedLength

  • MarkedAndFixed

Specifies the number of bytes to read. It is assumed that all Events received by the adapter have the same length.

An integer indicating the number of bytes.

The configured default is 1.

Width of Length
Used for Envelope Type value LengthPrefixed. Specifies the width of the envelope length. In other words, it dictates the number of digits to be used to represent the length field.
An integer, the range is 1 to 10. This property must be set to 2 for Network short and 4 for Network long.

The configured default value is 1.

Numeric Representation
Used for Envelope Type value LengthPrefixed. Specifies how the number representation of the prefixed length is expressed. This value is expressed in one of the following formats:
  • Decimal

  • Hexadecimal

  • Octal

  • Network Short

  • Network Long

Select one of the following:
  • Decimal

  • Hexadecimal

  • Octal

  • Network Short

  • Network Long

The configured default is Decimal.

Ignore Until Char Value
Used for the Envelope Types BeginEndMarked and MarkedAndFixed. Specifies the value for the ignore-until (same as begin block) character. All incoming characters are ignored until this character is encountered.
A decimal ASCII number. The allowed range is 1 to 127.

The configured default is 11.

Store Until Char Value
Used for Envelope Types BeginEndMarked, EndMarked, and MarkedAndFixed. Specifies the character in the End Block or Marker position of the envelope. All incoming characters are stored until this character is encountered.
A decimal ASCII number. The allowed range is 1 to 127.

The configured default is 12.