3. Contiguous ordering of itinerary data.
4. Stores the filtered itinerary record in database.
Building a Sample Application
[ 268 ]
Make sure that you have started the IEP service engine. Refer to the chapter on IEP
for more information.
For this example, we will be creating an IEP NetBeans module and a single
event processor.
From the Source Code ??“ Part E folder
ItineraryIEP - Intelligent Event Processor NetBeans Project that contains 1
event processor by name ItineraryProcessorIEP.iep.
AirAlliance_CA ??“ Composite application that deploys the IEP module.
TestItineraryIEP ??“ NetBeans standalone Java application to test the
event processor.
On your IEP workspace, drag-and-drop the following operators and connect
them sequentially.
1. Stream Input (Input Operator)
2. Time Based Window (Stream Converter)
3. Insert Stream (Relation Converter)
4. Stream Projection and Filter (Correlation and Filter)
5. Contiguous Order (Sequence Operator)
6. Partitioned Window (Stream Converter)
7. Table Output (Table Operator)
Chapter 10
[ 269 ]
The following figure shows how they are connected sequentially.
Configure the IEP to read guest itinerary information from the input stream. Specify
the itinerary fields as attributes in the Stream Input Property Editor.
Pages:
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232