Unknown macro: {next_previous_link3}
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

You can use the ESB tooling plug-in to create a new scheduled task or to import an existing scheduled task from the file system. 

You need to have the ESB tooling plug-in installed to create a new task or to import an existing task via ESB tooling. For instructions on installing the ESB tooling plug-in, see Installing WSO2 ESB Tooling.

Creating a new scheduled task

Follow these steps to create a new scheduled task. Alternatively, you can import an existing scheduled task.

  1. In Eclipse, click the Developer Studio menu and then click Open Dashboard. This opens the Developer Studio Dashboard.
  2. Click Scheduled Task on the Developer Studio Dashboard.
  3. Leave the first option selected and click Next.
  4. Type a unique name for this scheduled task and specify the group, implementation class, and other options. For more information, see Adding and Scheduling Tasks.
  5. Do one of the following:
    • To save the task in an existing ESB Config project in your workspace, click Browse and select that project.
    • To save the task in a new ESB Config project, click Create new ESB Project and create the new project.
  6. Click Finish. The scheduled task is created in the src/main/synapse-config/tasks folder under the ESB Config project you specified. When prompted, you can open the file in the editor, or you can right-click the task in the project explorer and click Open With > ESB Editor. Click its icon in the editor to view its properties.

Importing a scheduled task

Follow these steps to import an existing scheduled task into an ESB Config project. Alternatively, you can create a new scheduled task.

  1. In Eclipse, click the Developer Studio menu and then click Open Dashboard. This opens the Developer Studio Dashboard.
  2. Click Scheduled Task on the Developer Studio Dashboard.
  3. Select Import Scheduled Task Artifact and click Next.
  4. Specify the XML file that defines the scheduled task by typing its full pathname or clicking Browse and navigating to the file.
  5. In the Save Task In field, specify an existing ESB Config project in your workspace where you want to save the task, or click Create new ESB Project to create a new ESB Config project and save the task configuration there.
  6. If there are multiple tasks definitions in the file, click Create ESB Artifacts, and then select the tasks you want to import.
  7. Click Finish. The tasks you selected are created in the subfolders of the src/main/synapse-config/tasks folder under the ESB Config project you specified, and the first task appears in the editor.

 

  • No labels