Binding a Registered Query's Stream to an Existing Stream

Use the Sybase CEP binding mechanism to connect input and output streams of registered queries to the streams in already-existing projects. Sybase CEP uses the registerQuery() method to compile and register a query in one step.

Any CCL statement may be in the registered query. Binding streams in a query is optional.

When registering the query, provide information that binds (associates) the stream name (the name used in the CCL statement) with the URI of the corresponding stream. You must know the URI of the stream that you want to bind to.

The details are explained later in the chapters for each SDK that supports dynamic registration of queries.