Skip Navigation Links | |
Exit Print View | |
![]() |
Oracle Java CAPS Scheduler Binding Component User's Guide Java CAPS Documentation |
Using the Scheduler Binding Component
About the Scheduler Binding Component
Scheduler Binding Component Features
Using the Scheduler Binding Component in a Project
Steps to Create the BPEL Project
Create a Scheduler Binding Component
Create a File Binding Component
Create a Composite Application
Using the Scheduler Control and Triggers Wizard
Accessing the Scheduler Control and Triggers Wizard
Understanding the Scheduler Wizard
Using the Add New Simple Trigger Editor
Using the Add New Cron Trigger Editor
Using the Add New Hybrid Trigger Editor
Example Hybrid Trigger Configuration
Adding Triggers and Editing an Existing Scheduler Project
Accessing the Configure Scheduler Binding Wizard
Scheduler Binding Component Properties
Runtime Properties for the Scheduler Binding Component
Scheduler Binding Component Loggers
Using the Trigger Properties Editor
Scheduler Application Configuration
Using Scheduler Binding Component Application Configuration
Defining the Scheduler Application Configuration for a Project
Other Tools Used to Edit the Application Configuration
Scheduler Binding Component Application Variables
Using Application Variables in a Trigger Message
Creating and Using Application Variables
Using Admin Console and asadmin to Create Application Variables
Configuring Redelivery and Throttling for the Scheduler Binding Component
Configuring Redelivery for an Endpoint
Configuring Throttling for an Endpoint
This section contains the following topics:
The runtime properties allow you to make changes to a project after the project's design time is completed, without touching the business logic.
To access and edit the Scheduler runtime properties, do the following:
From the Services window of the NetBeans IDE, expand the Servers node.
If GlassFish is not started, start GlassFish. To do this, right-click GlassFish V2 and select Start from the pop-up menu.
Under the application server, expand the JBI -> Binding Components nodes and select the Scheduler Binding Component (sun-scheduler-binding). If sun-scheduler-binding is not started, start it now.
Double-click the sun-scheduler-binding to open the properties editor.
Edit the properties as needed. Once you are finished editing your properties, click the NetBeans IDE Save button, and redeploy your project to make your changes take affect.
The Scheduler Binding Component properties specify Thread Count, Application Configuration, Application Variables, Statistics, Loggers, and reference the Binding Component's description, name, type, and state.
Displays the description of the binding component.
Displays the name of the binding component.
Indicates the state of the binding component as Started, or Stopped.
Displays the component type.
Displays the components specification version.
Displays the build version for the current component.
Specifies the number of threads listening on the message bus.
Specifies the number of threads that the Quartz Scheduler can use.
Specifies the configured triggers name, starting date and time, ending date and time, and time zone. For more information on using the Application Configuration property see Scheduler Application Configuration.
Specifies the Application Variables configured for the binding component. Application Variables allow you to define a list of name:value pairs for a given stated type. The application variable name can be used as a token for a WSDL extensibility element attribute in a corresponding binding.
The Application Variables configuration property offers four variable types:
String: Specifies a string value, such as a path or directory.
Number: Specifies a number value.
Boolean: Specifies a Boolean value. The VALUE field provides a checkbox (checked = true).
Password: Specifies a password value. The password is masked and displays only asterisks.
For more information about using Application Variables, see Scheduler Binding Component Application Variables.
The Statistics properties provide a record of key statistics for the Scheduler Binding Component.
Tracks the number of activated endpoints.
Tracks the number of active exchanges.
Tracks the average message exchange component time in milliseconds.
Tracks the average message exchange delivery channel time in milliseconds.
Tracks the average message exchange message service time in milliseconds.
Tracks the average message exchange response time in milliseconds.
Tracks the total number of completed exchanges.
Tracks the total number of error exchanges.
Tracks the number of received dones.
Tracks the number of received errors.
Tracks the number of received faults.
Tracks the number of received replies.
Tracks the number of received requests.
Tracks the number of sent dones.
Tracks the number of sent errors.
Tracks the number of sent faults.
Tracks the number of sent replies.
Tracks the number of sent requests.
Tracks the up time of this component in milliseconds.
The Scheduler Binding Component runtime Logger properties include 13 different component activities that can be monitored and recorded at user-designated levels.
Each logger can be set to record information at any of the following levels:
FINEST: messages provide highly detailed tracing
FINER: messages provide reasonably detailed tracing
FINE: messages provide basic tracing
CONFIG: provides static configuration messages
INFO: provides informative messages
WARNING: messages indicate a warning
SEVERE: messages indicate a severe failure
OFF: no logging messages
The values for the Scheduler Binding Component Loggers start with the location: sun-scheduler-binding. The value text has been wrapped for display purposes.
Specifies the logging level for the entire group of component loggers. Individual logger levels can then be changed as desired.
.com.sun.jbi.common.qos.config.RuntimeConfigurationMBean
.com.sun.jbi.common.qos.discriptor.DeploymentLookup
.com.sun.jbi.common.qos.messaging.MessagingChannel
.com.sun.jbi.common.util.MBeanHelper
.com.sun.jbi.component.toolkit.endpoint.EndpointLifeCycle
.com.sun.jbi.component.toolkit.lifecycle.impl.AcceptPoller
org.glassfish.openesb.schedulerbc.SchedulerComponentManager
org.glassfish.openesb.schedulerbc.SchedulerConfiguration
org.glassfish.openesb.schedulerbc.SchedulerEndpointManager
org.glassfish.openesb.schedulerbc.SchedulerExchangeHandler
org.glassfish.openesb.schedulerbc.SchedulerServiceUnitManager
org.glassfish.openesb.schedulerbc.domain.HybridTrigger
org.glassfish.openesb.schedulerbc.domain.SchedulerEndPoint
Exception messages start with a unique identifier. The Scheduler Binding Component exception message starts with SCHEDBC. For example:
SCHEDBC-3005: Quartz Cron trigger cronBinding.CronTrigger1 will fire next at: 2008-12-08T12:45:00.000-0800 COMPTK-3001: Message exchange accepted from NMR: id=40556676730368-18686-134480792400230253,role=CONSUMER,status=Done COMPTK-3009: Stopping SU-QosDemoCA-sun-scheduler-binding
For more information about the Scheduler Binding Component Logging Codes, see Logging Codes By Component.
The Scheduler Binding Component Trigger Properties allow you to make changes to the settings for a specific trigger in a group. You can also make these edits for a specific trigger using the Configure Scheduler Binding Wizard, accessed from the CASA Editor.
Note - Be aware that your completed project uses the WSDL file located under the Composite Application's Process Files directory, not the WSDL file located under the BPEL or XSLT project.
The sched:trigger Properties Editor appears.
The Scheduler Binding Component trigger properties are:
Specifies the name of the Quartz trigger.
Specifies the type of Quartz trigger: Simple, Cron, or Hybrid.
Specifies whether the Quartz trigger is enabled (true) or disabled (false).
Specifies how many times the trigger repeats, indicated by a number or the keyword "indefinite" meaning indefinitely. This property only applies to Simple and Hybrid types.
Specifies the interval between trigger firings, in milliseconds. This property only applies to Simple and Hybrid types.
Specifies the Quartz Cron Expression that governs when a Cron or Hybrid trigger fires or begins, respectively. This property only applies to Cron and Hybrid types.
Specifies the duration period, from the start time determined by the Cron Expression attribute, that the trigger repeatedly fires. That is, the specified length of time in which the trigger fires once it begins. This property only applies to Hybrid types.
Specifies the message that is sent to the endpoint that is triggered. This message can also reference Application Variables, Java System Properties, or Scheduler Inbound Normalized Message Properties.
Once you have finished editing your project's triggers, redeploy the project to enable your changes.
Normalized Message properties are commonly used to specify metadata that is associated with message content.
The Scheduler Binding Component uses three inbound Normalized Message Properties:
Trigger Name
Trigger Group
Trigger Date
For information on using Normalized Message Properties in a BPEL process, see Using Normalized Message Properties.