Permalink
Commits on Nov 5, 2012
  1. Merge pull request #3 from ewollesen/master

    Use a Railtie to integrate with Rails
    committed Nov 5, 2012
  2. Use a Railtie to integrate with Rails

    Eric Wollesen committed Nov 5, 2012
Commits on Feb 14, 2010
  1. bumped gem version

    cwyckoff committed Feb 14, 2010
Commits on Dec 21, 2009
  1. Releasing 0.5.0.

    committed Dec 21, 2009
  2. Merge branch 'cwyckoff/0.5'

    committed Dec 21, 2009
  3. removed dependency on message_handler when calling [Adapter]#disconnect

    * cached 'destination' on stomp adapter
    * cached 'exchange_strategy' on amqp adapters
    cwyckoff committed Dec 21, 2009
Commits on Dec 11, 2009
  1. removing dead spec

    Chris Wyckoff and Ben Mabey committed with cwyckoff Dec 11, 2009
  2. Remove Adapter::instance in favor of Adapter::open.

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

    …or review
    Larry Karnowski and Rob Sanheim committed Dec 7, 2009
  2. Further adapter refinements:

      - 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
        inconsistency.
      - few more specs around open, demonstrating it cleans up even if the block raises
      - add/clean up RDoc
    Larry Karnowski and Rob Sanheim committed Dec 7, 2009
Commits on Dec 3, 2009
  1. Fixed "Adapter.open" for Stomp; note it's still broken for AQMP.

      - Leaky abstraction on Stomp & AQMP adapters was requiring a message handler
        to be passed to "#disconnect" to unsubscribe, even if it hadn't been
        subscribed.
      - Changed the Stomp adapter to take the message handler as an optional
        parameter to "#disconnect" and only unsubscribe if passed one.
    karnowski committed Dec 3, 2009
  2. Fixed a socket leak (at least for Stomp, but probably others too).

      - "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
        adapter.
      - 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 "Adapter.open" 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.
    karnowski committed Dec 3, 2009
  3. Fixed some misspellings.

    karnowski committed Dec 3, 2009
  4. Found a socket leak in the Stomp adapter because of Adapter.instance...

      - 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.
    Larry Karnowski and Rob Sanheim committed Dec 3, 2009
  5. Allow specifying a key when adding handlers to a consumer....

      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
    Larry Karnowski and Rob Sanheim committed Dec 3, 2009
  6. Merge branch 'master' into relevance-master:

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

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

    committed Sep 28, 2009
  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.
    committed Sep 28, 2009
Commits on Sep 25, 2009
  1. Version bump to 0.4.0

    committed Sep 25, 2009
  2. Version bump to 0.3.0

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

    committed Sep 23, 2009
  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....
    committed Sep 23, 2009
  3. whitespace begone!

    committed Sep 23, 2009
Commits on Sep 17, 2009
  1. added core extension time file

    cwyckoff committed Sep 17, 2009