New issue 54 by ngeren: Deprecation warning from Stomp library/adapter
http://code.google.com/p/activemessaging/issues/detail?id=54
Was receiving deprecation warning for "send" method, staging it was being
deprecated in favor of the "publish" method. A quick fix to silence the
warning is to add the following method to activemessaging/adapters/stomp.rb
within the Connection class:
def send( *args )
publish( *args )
end
LOL - That should have read:
"Was receiving deprecation warnings for "send" method, staging it was being
This will support both older and the newer stomp libraries:
def send( *args )
return ( self.respond_to?( :publish ) ? publish( *args ) : super( *args )
)
end