Configuring Java CAPS Project Components for Communication Adapters

Listener Schedule

Listener Schedule properties specify the schedule that the server must wait for the new client connection establishment request. This schedule is for the listener/monitor. The Listener Schedule properties are included in the table.

Table 5 Inbound Schedules—Listener Schedule

Name 

Description 

Required Value 

Scheduler

Specifies the scheduler type for this inbound communication. Options are: 

  • Timer Service: The task is scheduled according to the Schedule Type, Delay, Period, and At Fixed Rate values.

  • Work Manager: The work is scheduled according to the Schedule Type, Delay, and Period values.

    If your container does not support JCA Work Management (prior to JCA1.5), select Timer Service.

Select Timer Service or Work Manager.

The default is Work Manager.

Schedule Type

Defines the type of schedule for inbound communication. Repeated indicates a task is scheduled for repeated execution at regular intervals defined by the parameter Period. 

The configured default is Repeated.


Note –

This value cannot be changed.


Delay

Specifies the delay in milliseconds before a task is executed. For further details, refer to the SNA Adapter Javadoc. 

A valid numeric value. 

The default is 0.

Period

Specifies the regular interval in milliseconds between successive task executions. This parameter is used in conjunction with the Schedule Type parameter when set to Repeated. 

A valid numeric value. 

The default is 100.

At Fixed Rate

Used in conjunction with the Repeated setting for the Schedule Type parameter and the Timer Service type of Scheduler. Options are: 

  • True: Denotes a fixed rate. Each execution is scheduled relative to the scheduled time of the initial execution. If an execution is delayed for any reason, two or more executions will occur in rapid succession to return to the preset execution schedule. Overall, the frequency of executions will be exactly the reciprocal of the specified period.

  • False: Denotes a fixed delay. Each execution is scheduled relative to the actual execution time of the previous execution. If an execution is delayed for any reason, subsequent executions are delayed as well. Overall, the frequency of executions will generally be lower than the reciprocal of the specified period.

Select True or False.

The default is False.