Absolute vs. Relative Stream URIs

URIs that start with "http:" or "ccl:" are absolute URIs. You may also specify relative URIs, which are relative to the local Sybase CEP Server manager.

For example, the following binding is valid:

/Stream/wkspc2/MyProject/strm_OrderUpdate~1

Note the "~1" at the end of the relative URI. This looks up the stream named strm_OrderUpdate~1 in the current manager. "wkspc2" is the name of the workspace. If the project is running on host "dev7" and port "6782", then the binding

/Stream/wkspc2/MyProject/strm_OrderUpdate~1

is the same as

ccl://dev7:6782/Stream/wkspc2/MyProject/strm_OrderUpdate~1

By using relative bindings, you make projects much more portable across servers.