Class: LogStash::Inputs::Stomp::InputHandler
- Inherits:
-
Stomp::Handler
- Object
- EventMachine::Connection
- Stomp::Handler
- LogStash::Inputs::Stomp::InputHandler
- Defined in:
- lib/logstash/inputs/stomp.rb
Instance Attribute Summary
Attributes inherited from Stomp::Handler
Instance Method Summary collapse
Methods inherited from Stomp::Handler
#connection_completed, #initialize, #unbind
Constructor Details
This class inherits a constructor from LogStash::Stomp::Handler
Instance Method Details
#receive_msg(message) ⇒ Object
20 21 22 23 24 25 26 27 |
# File 'lib/logstash/inputs/stomp.rb', line 20 def receive_msg() super unless .command == "CONNECTED" event = LogStash::Event.from_json(.body) @input.receive(event) end end |