Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Jul 13, 2012
  1. @theterg

    patch "502 Bad Gateway" error, add option for debug printing

    theterg committed
    -When a socket close is detected by the readerThread (as opposed
    to the writeOut() method), we forgot to send headers when
    automatically reconnecting.  This confused haproxy, causing it to
    reply with "502 Bad Gateway".  Fixed.
    -added a producersession.enableMessageDebug() option.  Under
    normal operation the threads shouldn't print much to the screen
    except unexpected errors.  If you want to view raw swarm
    messages, just execute enableMessageDebug(true);
  2. @theterg
  3. @theterg

    Merge branch 'master' of

    theterg committed
  4. @theterg
Commits on Jul 11, 2012
  1. @theterg
Commits on Jul 3, 2012
  1. @theterg
  2. @theterg
  3. @theterg

    added network dropout detection to reader, force socket close

    theterg committed
    -On network dropout, normally java doesn't notice until the tcp
    socket timeout, which is quite long.
    -now if no data is received by the reader thread within 1 min,
    the reader will force the socket closed so that autoreconnect can
    work it's magic (if enabled).
    -Client notices network dropout within 1 minute
    -Client will reconnect when network comes back up within 1 minute
Commits on Jul 2, 2012
  1. @theterg

    Client reader stability - runaway thread fix

    theterg committed
    -keepalive timerTask is now closed with swarm session
    -socket read timeout shortened to 2 seconds
    -readerThread better non-blocking (catch SocketTimeoutException)
    -opted to remove raw message debug by default
    -cleaned up printlns a little
Commits on Jun 18, 2012
  1. @theterg
  2. @theterg
Commits on Jun 9, 2012
  1. @theterg
Commits on Jun 8, 2012
  1. @theterg

    Added a ready-to-go example of John's code snippet

    theterg committed
    This has been pre-configured for resources and swarms on the test acct
Commits on Feb 6, 2012
  1. fixed header typo ;D

    John Connolly committed
  2. add a preliminary readme

    John Connolly committed
Something went wrong with that request. Please try again.