Subscribing to a stream in Java

A code example for subscribing streams in Java.

To subscribe to a stream:

subscription = engineClient.subscribeToStream(cclUri);

The code is using a method of the engine client that was created in the first step and passing it the CCL URI generated in the second step.