Difference between revisions of "Selector"

From DocDataFlow
Jump to: navigation, search
Line 4: Line 4:
  
 
When it receives a granule through its input connection, it will use some internal programming logic to decide which the most appropriate target adapter is, and it will send the granule to one (and only one) of its sub-adapters.
 
When it receives a granule through its input connection, it will use some internal programming logic to decide which the most appropriate target adapter is, and it will send the granule to one (and only one) of its sub-adapters.
 +
 +
The output connection of the selector serves as the 'default option': if none of the sub-adapters is prepared to accept a particular granule, then the granule is routed through the output connection of the selector.

Revision as of 22:07, 29 December 2013

A selector is a composite adapter.

It manages a group of two or more 'sub-adapters'.

When it receives a granule through its input connection, it will use some internal programming logic to decide which the most appropriate target adapter is, and it will send the granule to one (and only one) of its sub-adapters.

The output connection of the selector serves as the 'default option': if none of the sub-adapters is prepared to accept a particular granule, then the granule is routed through the output connection of the selector.