This is a simple Rust Wasm example that uses wasmcloud:messaging to echo back any message it receives.
cargo1.75wash0.27.0
wash buildEnsuring you've built your component with wash build, you can launch wasmCloud and deploy the full hello world application with the following commands. Once the application reports as Deployed in the application list, you can use the NATS CLI to send it a request.
wash up -d
wash app deploy ./wadm.yaml
wash app get
nats req "wasmcloud.echo" "HELLLLOOOOOO"And in response:
HELLLLOOOOOOTo learn how to extend this example with additional capabilities, see the Adding Capabilities section of the wasmCloud documentation.