You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
def transmit(command, headers = {}, body = '')
# The transmit may fail so we may need to retry.
while TRUE
begin
used_socket = socket
_transmit(used_socket, command, headers, body)
return
rescue Stomp::Error::MaxReconnectAttempts => e
raise
rescue
@failure = $!
raise unless @reliable
$stderr.print "transmit to #{@host} failed: #{$!}\n"
end
end
end
The text was updated successfully, but these errors were encountered:
This was originally reported on codehaus Jira. The problem still exists in the current gem. See:
http://jira.codehaus.org/browse/STOMP-20
The fix suggested at the codehaus site is:
The text was updated successfully, but these errors were encountered: