Em 31-05-2011 04:38, Christian Johansen escreveu:
Hi,
I've just pushed the completed version of Gitorious' new messaging
API:
https://gitorious.org/gitorious/mainline/commits/unified-messaging-api
We aim to get this merged to master in a week or so (we're currently
running it in staging to avoid potential problems in production) - we
also want to give you guys the opportunity to comment on this before
we merge it in.
What is this new API? Basically it's an intermediary between Gitorious
and the concrete messaging queue implementation. It moves the
previously obtrusive ActiveMessaging bindings out to an adapter, and
makes room for more adapters, such as the new Sync, Test and Resque
adapters.
For developers, this change is interesting because simply by setting
messaging_adapter: sync in your gitorious.yml, you can have everything
processed without running a separate poller of any kind. The sync
adapter might also work for low traffic setups where resource usage is
an issue (and performance is not).
For people running Gitorious, an upgrade should be painless. The
default implementation (even if you don't update your configuration
file) is the old Stomp adapter, and should work as expected.
I've created a merge request for this changeset, and would love your
comments, questions and review:
https://gitorious.org/gitorious/mainline/merge_requests/156. Let me
know what you think.
I'll take a look at it and will give you my feedback. I'm specially
interested in what app/processors became.
Thanks for your work!
--
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]