Creating the Runtime Plug-in
The plug-in refers to the model and is used in the runtime environment.
Procedure
- Close the feature/UI project that was created when the custom mediation tasks were installed.
- Run TIBCO Business Studio.
- Start > All Programs > TIBCO_HOME > TIBCO Business Studio N.N > TIBCO Business Studio.
- Select File > New > Project ....
- Specify a name for the project that reflects the mediation task name and that identifies this as the runtime plug-in, for example, LookupTaskRuntime.
- Accept all other defaults and click Next.
- On the Plug-in Content page, locate the Plug-in Options group and select This plug-in will make contributions to the UI.
- Accept all other defaults and click Next.
- On the Templates page of the wizard, select Mediation Task Runtime Wizard and click Next.
- On the Mediation Task Model Selection Section, choose the mediation task model plug-in and click Next.
- Specify the Mediation Task Name. This is a unique name that reflects the nature of the custom mediation task, for example, LookupTask.
-
Specify the
Java Package Name for the runtime plug-in for the custom mediation task. Click
Next.
By default, the Java package name is the same as the project name.
-
Click
Finish.
TIBCO Business Studio opens the Open Associated Perspective dialog, which asks if you want to open the Plug-in Development perspective.
-
(Optional) Select
Remember my decision check box and click
Yes.
TIBCO Business Studio opens the runtime plug-in and the Plug-in Development perspective.
Along with the Runtime plug-in, a SOA Project <runtime plug-in project name>.deploy.soa is created as shown in the following figure:
This SOA project contains the Custom Mediation Task Extension component that refers to the runtime plug-in.
Your custom code is written in <runtime plug-in project name>\src\<runtime plug-in project name>\<cutom mediation task name>RT.java.
Note: Do not update or delete the generated <runtime plug-in project name>.apt.composite. This composite is generated for the sole purpose of packaging the custom tasks plug-ins into deployable artifacts.If you see compilation errors, switch the Target Platform to TIBCO ActiveMatrix Runtime. See Composite Development Guide for information on switching the Target Platform.
Copyright © Cloud Software Group, Inc. All rights reserved.