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 ...
Get BPEL and Java Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.