Subscribing for an In-Process Adapter

A description of the functionality required to implement guaranteed processing for an in-process adapter and the corresponding Sybase CEP C/C++ in-process API functions you use for each.

Action

Function

Establish a session

C8AdapterConnect

Receive and process batches of messages

C8AdapterGetNextMessagesBatchC8MessageBatchPopMessage

Re-establish a session after a failure

Sybase CEP Engine calls the developer-defined reconnect function as specified in the ADL file.

Specify the ID of the last batch processed

C8AdapterSetLastBatchId

See In-process Adapter API, Signatures of User Functions, and Message API for specific syntax and usage information.