Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 355 Bytes

README.md

File metadata and controls

17 lines (13 loc) · 355 Bytes

Gamel

Gamel is an experimental framework to reimplement most of Apache Camel in Go.

	context := core.NewGamelContext()
	route, _ := core.NewRouteBuilder(context).
		From("timer:tick?period=2000").
		To("log:INFO").
		Build()

	context.AddRoute(route)
	context.Start()

	time.Sleep(20 * time.Second)
	context.Stop()