Skip to content
This repository has been archived by the owner on Jan 27, 2020. It is now read-only.

Source Runtime Environment

Christian Kreutzfeldt edited this page Apr 21, 2015 · 3 revisions

As outlined in the environment introduction the source runtime environment differs from the other ones. It does not listen to an internal message queue for incoming items it simply forwards to the assigned component but it establishes itself a connection with an external data source.

Therefore it does not provide a loop where it listens for incoming messages but executes the source component inside a dedicated thread passing on itself as callback for handling messages received from the attached external data sink.

On an incoming message the attached source forwards the item to the callback

IncomingMessageCallback#onMessage(StreamingDataMessage)

which in turn simply inserts it into the assigned queue.

For more information, please see the source code.

Clone this wiki locally