Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Branch: master
Commits on Nov 5, 2012
  1. Merge pull request #3 from ewollesen/master

    Use a Railtie to integrate with Rails
  2. Use a Railtie to integrate with Rails

    Eric Wollesen authored
Commits on Feb 14, 2010
  1. @cwyckoff

    bumped gem version

    cwyckoff authored
  2. @cwyckoff
Commits on Dec 21, 2009
  1. Releasing 0.5.0.

  2. Merge branch 'cwyckoff/0.5'

  3. @cwyckoff
  4. @cwyckoff

    removed dependency on message_handler when calling [Adapter]#disconnect

    cwyckoff authored
    * cached 'destination' on stomp adapter
    * cached 'exchange_strategy' on amqp adapters
  5. @cwyckoff
  6. @cwyckoff
  7. @cwyckoff
  8. @cwyckoff
Commits on Dec 11, 2009
  1. @cwyckoff

    removing dead spec

    Chris Wyckoff and Ben Mabey authored cwyckoff committed
  2. @cwyckoff

    Remove Adapter::instance in favor of Adapter::open.

    Chris Wyckoff and Ben Mabey authored cwyckoff committed
      ( see previous commits for reasoning )
Commits on Dec 7, 2009
  1. Update History for proposed 0.5.0 release to push back to Ben Mabey f…

    Larry Karnowski and Rob Sanheim authored
    …or review
  2. Further adapter refinements:

    Larry Karnowski and Rob Sanheim authored
      - Make Amqp adapter interface match all other adapters, even though Amqp really
        _does_ require the message handler passed in (unlike all the other adapters).
      - TODO: There is a definite need to move some state around in order to clean up this
      - few more specs around open, demonstrating it cleans up even if the block raises
      - add/clean up RDoc
Commits on Dec 3, 2009
  1. @karnowski

    Fixed "" for Stomp; note it's still broken for AQMP.

    karnowski authored
      - Leaky abstraction on Stomp & AQMP adapters was requiring a message handler
        to be passed to "#disconnect" to unsubscribe, even if it hadn't been
      - Changed the Stomp adapter to take the message handler as an optional
        parameter to "#disconnect" and only unsubscribe if passed one.
  2. @karnowski
  3. @karnowski

    Fixed a socket leak (at least for Stomp, but probably others too).

    karnowski authored
      - "Adapter.instance" creates a NEW instance each time it is called, but the
        expectation is that it would return a lazily-cached, singleton instance.
      - When you call Producer.publish, it called "instance", evidently assuming
        it would get a singleton instance because it doesn't "disconnect" the
      - Each time a Stomp adapter is created, it opens a socket to the queue.
      - So, each time you publish a message via Stomp, it would leak a socket.
      - (This might happen on other adapters, too.  Not sure.)
      - So we created a new "" method that disconnects the adapter
        after the given block is evaluated.
      - We could have fixed "instance" to be a true singleton, but it's unclear
        what code is relying on the accidentally-thread-safe current
        implementation.  We felt it safer to create a new method.
  4. @karnowski

    Fixed some misspellings.

    karnowski authored
  5. Found a socket leak in the Stomp adapter because of Adapter.instance...

    Larry Karnowski and Rob Sanheim authored
      - Basically, Adapter.instance doesn't do what you think it does.
      - Instead of being a singleton that returns a cached instance, it creates a new one every time.
      - The Stomp client expects a singleton, so it doesn't close the socket when publishing.
      - We are going to follow up with a fix for this in the next commit.
  6. Allow specifying a key when adding handlers to a consumer....

    Larry Karnowski and Rob Sanheim authored
      This allows you to add multiple instances of the same handler class.
      Otherwise the last one wins in the @consumers hash due to having the same key name.
      Add spec for base consumer contract of #add
  7. Merge branch 'master' into relevance-master:

    Larry Karnowski and Rob Sanheim authored
      - Added eventmachine require to Evented consumer manager
      - 2 specs broken otherwise without this require -- maybe load order issues that were sys dependent?
  8. Need to require 'amqp' here; otherwise specs fail

    Larry Karnowski and Rob Sanheim authored
Commits on Sep 28, 2009
  1. Version bump to 0.4.0

  2. Allowing registration of custom exception handling.

    See lib/rosetta_queue/exception_handler.rb for more info.
    This removes some default exception handling that was
    present in RQ prior to this for publishing and consuming.
    Since every app tends to want to handle exceptions differently
    for messaging but are generally pretty consistent across
    consumers/publishers this feature gives the needed flexibility
    and helps reduce duplication within apps.
Commits on Sep 25, 2009
  1. Version bump to 0.4.0

  2. Version bump to 0.3.0

Commits on Sep 24, 2009
Commits on Sep 23, 2009
  1. updating History

  2. fixed stomp features and marked the Publish-Subscribe as unreliable

    Publish-Subscribe works but has been problematic to test within
    the features.  Need to fix it....
  3. whitespace begone!

Commits on Sep 17, 2009
  1. @cwyckoff
Something went wrong with that request. Please try again.