Double-click Partitioned
Window Property Editor and set the Size to 4. Note that the preferences attributes
will be missing from the list.
Chapter 10
[ 273 ]
Now that our IEP is ready, we use the Table Output operator to write to a table.
Double-click the Table Output Property Editor and select Is Global and give a
Global ID name as CurrentItinerary.
When you deploy this IEP, the IEP service engine will create a table by name
CURRENTITINERARY as specified by the Global ID.
Building a Sample Application
[ 274 ]
Create a composite application and add the IEP project as a JBI module and
deploy the project to the GlassFish Server. At the time of deployment, the
CURRENTITINERARY table will be created. Now to test the IEP, you need to
generate a stream and pass it to the IEP. For this purpose use the TestItineraryIEP
standalone java project. It reads the itinerary information stored in the file by the BPEL
process and creates a stream and sends it to the IEP. After running the test application
check the CURRENTITINERARY table to check the filtered itinerary output.
The idea of this part of the example is to show how you can create a very simple
event processor that could be deployed as a composite application and works along
with a BPEL process into intelligently process a stream of data.
Pages:
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234