v0.17.0
Version v0.17.0, dated October 11, 2026, moves the repository from GitLab to GitHub and changes the Go module path. It contains one breaking change for importers: the module path. Read Upgrade before upgrading. It also adds the Sample and SampleEvery EIPs.
Upgrade
The module path changed from gitlab.com/tranchida/gocamel to github.com/tranchida/gocamel. Every component and observability module moved with it (github.com/tranchida/gocamel/components/<name>, github.com/tranchida/gocamel/observability/<name>).
- Replace the old path in your imports and in
go.mod:
- Upgrade the core and each optional module you use together:
Every component and observability module at v0.17.0 requires core v0.17.0. Releases up to v0.16.0 stay available under the old gitlab.com/tranchida/gocamel path.
Sample EIP
Sample(period) and SampleEvery(n) let only a sample of the exchanges through and silently drop the others with ErrStopRouting, regardless of their content. Sample keeps the first exchange of each period, SampleEvery one exchange out of n (the first one passes). Unlike Throttle, which delays exchanges, Sample discards them. A non-positive period or count is reported by Route.Validate().
Project changes
- The repository now lives at github.com/tranchida/gocamel; issues go to GitHub Issues.
- The GitLab CI pipeline is gone. Run
./check.shlocally (build, vet andgo test -raceon every module) and enable the versioned pre-push hook withgit config core.hooksPath .githooks.
See the CHANGELOG for the full list.