Using the Scheduler Binding Component

Creating Hybrid Triggers

The Hybrid trigger merges the Cron expression with the simple trigger. The Cron values specify when the trigger will fire, and the simple values specify the duration and interval for the trigger.

Using the Add New Hybrid Trigger Editor

The Add New Hybrid Trigger Editor is accessed from the Scheduler Control and Triggers Wizard.

Image shows the Add New Hybrid Trigger Editor as described
in context

To configure a hybrid trigger, complete the following fields:

Table 2 Scheduled Inbound Message Properties

Property 

Description 

Type 

org.glassfish.openesb.scheduler.inbound.date  

Intended triggering date  

String  

org.glassfish.openesb.scheduler.inbound.name  

Trigger name  

String  

org.glassfish.openesb.scheduler.inbound.group  

Trigger group  

String 

Example Hybrid Trigger Configuration

As an example of configuring a Hybrid trigger, say you wanted to set a trigger to send a message throughout the months of July and August, Monday through Thursday, from 9:00 AM to 3:00 PM, at 30 minute intervals, every 2.5 seconds for 10 seconds. In English, we communicate this time from the largest unit of time (days) to the smallest (seconds), but when you create a trigger in the Scheduler Binding Component, it is often configured from the smallest setting to the largest.

Configure the Hybrid trigger as follows:

This creates the Cron expression: * 0/30 9–15 ? 7,8 2–5.