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
I'm having an issue with connecting to AWS amazonMQ. This is the way I've connected:
conn = :stomp.connect('b-xxx.amazonaws.com',61614,'xxx','xxxx')
:stomp.subscribe('/topic/test',conn,[{'selector','JMSType = \'test\''}])
f = fn(msg) ->
IO.inspect msg
end
:stomp.on_message(f,conn)
:stomp.disconnect(conn)
This is the error I receive:
** (FunctionClauseError) no function clause matching in :stomp.get_headers/3
The following arguments were given to :stomp.get_headers/3:
# 1
[]
# 2
[]
# 3
-1
src/stomp.erl:243: :stomp.get_headers/3
src/stomp.erl:260: :stomp.get_type/2
src/stomp.erl:217: :stomp.get_message/1
src/stomp.erl:38: :stomp.connect/4
The text was updated successfully, but these errors were encountered:
I'm having an issue with connecting to AWS amazonMQ. This is the way I've connected:
This is the error I receive:
The text was updated successfully, but these errors were encountered: