Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Sep 15, 2014
  1. Claudiu Hojda

    Changed no_ack to noAck

    djhojd authored
Commits on Aug 7, 2014
  1. Oleg Abrosimov

    Update README.md

    olegabr authored
    fix link to the example file
Commits on May 5, 2014
  1. Factor out exploding in callback API

    authored
    It's not quite as convenient as the promise API, in which errors pop
    up at the end of the then-chaining (provided you remember to return
    things correctly). This is a lowest-common denominator approach, and
    it keeps the programs self-contained.
    
    The repetition indicates there's probably a nicer way to deal with
    errors. Or not (because JavaScript).
Commits on May 4, 2014
Commits on May 3, 2014
Commits on May 2, 2014
Commits on Apr 30, 2014
Commits on Apr 29, 2014
Commits on Oct 31, 2013
  1. Synchronise with an RPC after sending a message

    authored
    Closing the connection can have the effect of abandoning frames that
    haven't been written yet. This is noticable with recent versions of
    when.js (v2.5.1 say) which will run the thunk given to `.ensure`,
    thereby closing the connection, before the publish has been written to
    the socket.
Commits on Jun 21, 2013
  1. Tutorial six, RPC

    authored
    Requires a UUID generator. It's pretty easy to make random strings for
    correlation IDs, but the original tutorials specifically use UUID
    modules.
    
    I depart a bit from the original tutorials in the rpc_client. I don't
    consider the class wrapping the RPC very useful.
  2. Tutorial five

    authored
  3. Use when.ensure to close connections regardless of result

    authored
    Previously, I was closing the connection only success; however, I
    really want to close the connection whatever happens in the connection
    open continuation. Closing only on success means the program keeps
    running (because I/O to do ..) on errors.
  4. Be consistent with the original tutorials in console messages

    authored
    Also: only try the one time to close the connection on SIGINT
  5. Tutorial four, routing

    authored
Commits on Jun 12, 2013
  1. Tutorial three ported

    authored
  2. Tutorial two

    authored
  3. Modify send/receive to work with puka examples

    authored
    Notably, declare the queue as non-durable since puka, /inter alia/,
    uses the wrong default value for durable.
    
    Also place the close continuation correctly (it's a subtle business,
    promises) and avoid #bind to make it easier to grok.
Something went wrong with that request. Please try again.