For example, when the StreamServer has processed the elements <A><B/><C/></A>, the child elements <B/> and <C/> will be removed.
The collection phase extends from [pattern start] to [pattern end] according to the following example:<[pattern start]A><B/><C>text</C></A[pattern end]> When the StreamServer has finished a process phase, only the main element is kept – everything else is removed. For example, after processing <A><B/><C>text</C></A>, only <A></A> is kept. Data availability and performance depends on the amount of data enclosed by [pattern start] and [pattern end]. For example, if the pattern is defined for the root element, the Message mode is the same as the Document mode. On the other hand, if the pattern encloses one single element, the Message mode is the same as the Node mode.
Example 1 ...<EventA>text<EventB>text</EventB></EventA>...If EventA operates in collection mode Message, EventB will also be forced to operate in collection mode Message. Everything enclosed by the parent pattern – in this example EventA and EventB – will be available during the process phase. This means that the StreamServer will have access to all data that belongs to EventA when it processes EventB, and vice versa.
OpenText StreamServe 5.6 | Updated: 2013-03-01 |