diff options
author | James Turnbull <james@lovedthanlost.net> | 2011-04-20 02:35:40 +1000 |
---|---|---|
committer | Josh Cooper <josh@puppetlabs.com> | 2011-04-20 09:39:44 -0700 |
commit | 9a5bf6e25d5871bda3252028c02846bfb2d8708b (patch) | |
tree | 6aee2ff06de50d332140556e4b46ec6dafd8d9bc /lib/puppet/util/queue.rb | |
parent | 72cd6fb383335a62d2d1ab656cdff39c34de0f19 (diff) | |
download | puppet-9a5bf6e25d5871bda3252028c02846bfb2d8708b.tar.gz puppet-9a5bf6e25d5871bda3252028c02846bfb2d8708b.tar.xz puppet-9a5bf6e25d5871bda3252028c02846bfb2d8708b.zip |
Fixed #7166 - Replaced deprecated stomp "send" method with "publish"
The "send" method in the stomp gem has been deprecated since:
http://gitorious.org/stomp/mainline/commit/d542a976028cb4c5badcbb69e3383e746721e44c
It's been replaced with the "publish" method.
Also renamed the send_message method to publish_message more in
keeping with language used in queuing.
Diffstat (limited to 'lib/puppet/util/queue.rb')
-rw-r--r-- | lib/puppet/util/queue.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/util/queue.rb b/lib/puppet/util/queue.rb index 02357742a..636bdcf2e 100644 --- a/lib/puppet/util/queue.rb +++ b/lib/puppet/util/queue.rb @@ -30,7 +30,7 @@ require 'puppet/util/instance_loader' # # The client plugins are expected to implement an interface similar to that of Stomp::Client: # * <tt>new</tt> should return a connected, ready-to-go client instance. Note that no arguments are passed in. -# * <tt>send_message(queue, message)</tt> should send the _message_ to the specified _queue_. +# * <tt>publish_message(queue, message)</tt> should publish the _message_ to the specified _queue_. # * <tt>subscribe(queue)</tt> _block_ subscribes to _queue_ and executes _block_ upon receiving a message. # * _queue_ names are simple names independent of the message broker or client library. No "/queue/" prefixes like in Stomp::Client. module Puppet::Util::Queue |