3 CosEvent timeout feature test
7 Demonstrates the timeout feature (see cosevent.conf in this directory) of the
8 CosEvent service. This feature was created because the reactive consumer/
9 supplier control is lacking in the following way. A consumer may become
10 unresponsive during a push() upcall. If the consumer is at all multithreaded,
11 then the reactive control's ping operation will still succeed. Timeouts
12 (via the Messaging library's relative round-trip timeout policy) allow the
13 event service to disconnect an unresponsive client (consumer or supplier).
14 Notice in run_test.pl that the CosEvent_Service executable's new -b option
15 is used to enable callbacks on disconnect. This was previously only availble
24 Found the EchoEventChannel.
26 Ready to receive events...
28 TestEventConsumer_i::push(): Received event containing 40 bytes.
29 TestEventConsumer_i::push(): Received event containing 40 bytes.
30 TestEventConsumer_i::push(): Received event containing 40 bytes.
31 TestEventConsumer_i::push(): Received event containing 40 bytes.
32 TestEventConsumer_i::push(): Received event containing 40 bytes.
33 TestEventConsumer_i::push(): Received event containing 40 bytes.
34 TestEventConsumer_i::push(): Received event containing 40 bytes.
35 TestEventConsumer_i::push(): Received event containing 40 bytes.
36 TestEventConsumer_i::push(): Received event containing 40 bytes.
37 TestEventConsumer_i::push(): Received event containing 40 bytes.
38 TestEventConsumer_i::push(): Simulating hung consumer
39 TestEventConsumer_i::disconnect_push_consumer()
40 TestEventConsumer_i::push(): Done