Configuring Java CAPS Project Components for Communication Adapters

Service Schedule

The Inbound Adapter Service Schedule properties are included in the table.

Table 6 Inbound Schedules—Service 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. Options are: 

  • One Time: A task is scheduled for a one-time execution.

  • Repeated: A task is scheduled for repeated execution at regular intervals defined by the parameter Period.

Select One Time or Repeated.

The default is Repeated.

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.

Where to Go Next

Connectivity Map Outbound Adapter General Settings.

Related Topics