Method: StompOut::Server#on_message

Defined in:
lib/stomp_out/server.rb

#on_message(frame, destination, message, content_type) ⇒ TrueClass

Handle delivery of message from client to given destination

Parameters:

  • frame (Frame)

    received from client

  • destination (String)

    for message with format being application specific

  • message (Object)

    body

  • content_type (String)

    of message in MIME terms, e.g., “text/plain”

Returns:

  • (TrueClass)

    always true

Raises:



178
179
180
# File 'lib/stomp_out/server.rb', line 178

def on_message(frame, destination, message, content_type)
  raise "Not implemented"
end