Skip to content
Weik.ioUniversity
Try Weik.io

Delivery: give a channel a type

Eventing 4 · 3:12

A channel with a type also delivers its events to a system outside Weik.io, in this video an accounting system that receives each invoice over HTTP. Weik.io generates the delivery route itself.

Download the mp4Recorded on 2026.2

What it covers

  • Any sink kamelet from Camel's catalogue as a channel's type, here http
  • Giving the declared channel its type with weikio channel set
  • The channel's new version in the versions block
  • Deploying the channel to devtest, and its generated delivery route
  • The next invoice arriving at the receiver as a POST and in the watcher's log
  • The channel's type, http, in weikio get channels

Commands in this video

Terminal
$ weikio channel set sandbox/invoice-created --type http --param url=http://receiver.example/invoices --param method=POST
$ weikio deploy sandbox/invoice-created --env devtest -y
$ weikio logs sandbox/invoice-watcher -f --since 10m
$ weikio get channels
Transcript
  1. 0:02Invoices flow on a channel inside the platform,
  2. 0:05but the accounting system isn't on it.
  3. 0:07Give the channel a type, and the platform builds the delivery itself.
  4. 0:15This is your Weik.io installation from the earlier Eventing videos.
  5. 0:20Invoices go into invoice-files, then through files-to-invoices into invoice-created.
  6. 0:26invoice-watcher,
  7. 0:27invoice-files and files-to-invoices run in devtest. A new invoice lands on invoice-created every minute.
  8. 0:35Nothing on the drawing reaches the accounting system yet.
  9. 0:43invoice-created has no type, so it builds no route.
  10. 0:47The Weik.io CLI's channel set edits invoice-created, declared in an earlier Eventing video,
  11. 0:54to give it the type http.
  12. 0:57The sink takes two parameters, the receiver's address and the POST method.
  13. 1:02The type names a sink kamelet from the Camel catalog.
  14. 1:08The type names the delivery's sink kamelet: http is delivered by http-sink.
  15. 1:15The set wrote the type into the channel's document,
  16. 1:18then the build made its first version.
  17. 1:21A channel with a type is an integration like any other.
  18. 1:24Nothing new runs yet,
  19. 1:25because the channel works only after it's deployed in an environment.
  20. 1:32weikio deploy sandbox/invoice-created to devtest puts its route to work without pausing for confirmation.
  21. 1:44The route starts by reading invoice-created through the same event-source kamelet a hand-written integration uses.
  22. 1:52It ends at the http sink kamelet with the address and method as written.
  23. 2:01The latest invoice reached the accounting system. The receiver's log records the POST the delivery brought in.
  24. 2:08weikio logs for invoice-watcher reads ten minutes of the watcher's log,
  25. 2:14then follows live.
  26. 2:16The watcher's log holds the same invoice, unchanged. The channel now feeds both:
  27. 2:21the watcher and the accounting system.
  28. 2:28weikio get channels lists the project's channels.
  29. 2:32The invoice-created row carries http now, where a dash stood.
  30. 2:37The row keeps its events, with the same publisher and reader.
  31. 2:45The timer source publishes each invoice into invoice-files.
  32. 2:49The subscription forwards them on into invoice-created.
  33. 2:53The channel's type carries every invoice across the platform's edge to the accounting system.
  34. 2:58The route that does it is the platform's making,
  35. 3:01built and run like any other integration.

Next in this track

Eventing 5 · 3:21 On the way: filter and steps Watched

Sign in to the live demo

Sign in with the shared viewer account, which can open every screen of the example projects and can't change anything.

E-mail
viewer@demo.weik.io
Password
try-weikio-live-demo
Open the live demo