Xbus - Go client¶
A Go client for the Xbus ESB.
Installation¶
This is a regular Go library:
go get bitbucket.org/orus-io/go-xbus
See the Xbus project for more info.
Versions¶
3.0.0-beta.7 (2017-03-09)¶
- Add support for fragmented envelopes:
- Drop EnvelopeReader in favor of EnvelopeReceiver for receiving envelopes as streams of Items
- Add EnvelopeSender for writing envelopes as streams of Items
- Add Actor.OpenOutput
- EnvelopeValidator: Add EventTypesKnown field
- EnvelopeValidator: Better error handling in Add()
- ProcessingEnd, ProcessingSuccess & ProcessingError now takes a context & ID instead of an envelope
3.0.0-beta.6 (2017-02-03)¶
- Client.Startup & Shutdown now handle the connection to the bus:
- ‘Connect’ should not be called before calling Startup()
- On disconnection, the connection will be attempted until success
- Fix demo actors
3.0.0-beta.5 (2017-01-26)¶
- Add a ‘demo’ package, which contains some demonstration actor services:
- A ‘demo.helloword’ emitter
- A ‘demo.relay’ worker
- A ‘demo.print-to-console’ consumer
- Adjust some logs levels
- Add Actor.GetIntSettingD for reading integer settings with a default value.
- Add Actor.SendItemsContext for sending items within a context.
- Allow custom hostDefs in CreateServerRootCA
3.0.0-beta.4 (2017-01-20)¶
- Rename client.XBusClient to xbus.Client
- xbus.Client can start/stop actors given the proper configuration
- Provides a
serve
command that start a Client and its actors. - Merge Consumer, Emiter & Worker in Actor
- Actor.Subscribe now have handler arg and returns the subscription that is no longer help by the Actor itself
- Actor options ‘type’ and ‘settings’ are now in a sub-option ‘service’
- Fix configuration writeback so it preserves non-xbus settings
- Fix validation of events with 0 items
initial¶
- Extracted client, lib, tools and xbus-client/cmd from xbus 3.0.0-beta.3