tree: fa071b2ea436ba63facf0564667730d73a285bbb [path history] [tgz]
  1. echo_client/
  2. echo_server/
  3. meta/

Failed routing Example

This directory contains an example of failed capability routing in Component Framework (Components v2).


If these components are not present in your build, they can be added by appending --with //examples to your fx set command. For example:

$ fx set core.x64 --with //examples
$ fx build

(Disclaimer: if these build rules become out-of-date, please check the Build documentation and update this README!)


Use ffx component create to create the component instances inside a restricted realm for development purposes:

$ ffx component create /core/ffx-laboratory:echo_realm fuchsia-pkg://

Start the client component instance by passing its moniker to ffx component start:

$ ffx component start /core/ffx-laboratory:echo_realm/echo_client

To see component manager's log of the failed capability routing, run:

$ fx log