Adding a composite sensor
In the previous recipe, we saw how to define composite and BPEL sensors. This recipe will show you how to add different types of sensors to a composite and BPEL process.
Getting ready
For adding a composite sensor, we will use the example from the Defining composite sensors recipe. Remember we defined one composite sensor and three BPEL sensors.
How to do it…
In the following recipe, we will add a composite sensor to the SCA. We first add the composite sensor to the BookHotelSvc
service in the composite structure. We already saw in the previous recipe that an icon appears indicating that the sensor is added to the composite. To add a composite sensor in JDeveloper there are two ways:
We can add a composite sensor by clicking on the toolbar icon in the composite design view as shown in the following screenshot:
With this option, you will receive a list of all possible candidates where you can place the composite sensor as shown in the following screenshot:
Another way to...