Logstash Stomp-Plugin can't connect to ActiveMQ

Hello,
i'am new in Logstash and i try to connect from WindowsVM with stomp output-plugin to activeMQ with SSL.
I've checked a connection to activeMQ like this:

Test-NetConnection -ComputerName myActiveMq -Port 50614

Reply is:

ComputerName : myActiveMq
RemoteAddress : 12.128.2.67
RemotePort : 50614
InterfaceAlias : Ethernet 2
SourceAddress : 12.128.2.8
TcpTestSucceeded : True

My logstash.conf file looks like this:

input {
file {
path => [
"C:\ta\test\test.txt"
]
start_position => "beginning"
}}
output {
stomp {
debug => "true"
id => "my_plugin_id"
destination => "/topic/logstash"
port => "50614"
user => "user"
host => "myActiveMq"
password => "user123"
}}
After starting:

C:\Users\USER\Documents\logstash-7.6.0\logstash-7.6.0\bin> .\logstash --debug -f ..\config\logstash.conf

Error message is:

[2020-03-02T10:14:59,351][DEBUG][logstash.outputs.stomp ]
[main] Failed to connect to stomp server, will retry {:exception=>#<OnStomp::ConnectionTimeoutError: OnStomp::ConnectionTimeoutError>,
:backtrace=>["C:/Users/USER/Documents/logstash-7.6.0/logstash-7.6.0/vendor/bundle/jruby/2.5.0/gems/onstomp-1.0.12/lib/onstomp/connections/base.rb:266:in io_process_read'", "C:/Users/USER/Documents/logstash-7.6.0/logstash-7.6.0/vendor/bundle/jruby/2.5.0/gems/onstomp-1.0.12/lib/onstomp/connections/base.rb:109:in connect'",
"C:/Users/USER/Documents/logstash-7.6.0/logstash-7.6.0/vendor/bundle/jruby/2.5.0/gems/onstomp-1.0.12/lib/onstomp/connections.rb:49:in connect'", "C:/Users/USER/Documents/logstash-7.6.0/logstash-7.6.0/vendor/bundle/jruby/2.5.0/gems/onstomp-1.0.12/lib/onstomp/client.rb:86:in connect'",
"C:/Users/USER/Documents/logstash-7.6.0/logstash-7.6.0/vendor/bundle/jruby/2.5.0/gems/logstash-output-stomp-3.0.9/lib/logstash/outputs/stomp.rb:42:in connect'", "C:/Users/USER/Documents/logstash-7.6.0/logstash-7.6.0/vendor/bundle/jruby/2.5.0/gems/logstash-output-stomp-3.0.9/lib/logstash/outputs/stomp.rb:64:in register'",
"org/logstash/config/ir/compiler/OutputStrategyExt.java:106:in register'", "org/logstash/config/ir/compiler/AbstractOutputDelegatorExt.java:48:in register'",
"C:/Users/USER/Documents/logstash-7.6.0/logstash-7.6.0/logstash-core/lib/logstash/java_pipeline.rb:200:in block in register_plugins'", "org/jruby/RubyArray.java:1814:in each'",
"C:/Users/USER/Documents/logstash-7.6.0/logstash-7.6.0/logstash-core/lib/logstash/java_pipeline.rb:199:in register_plugins'", "C:/Users/USER/Documents/logstash-7.6.0/logstash-7.6.0/logstash-core/lib/logstash/java_pipeline.rb:501:in maybe_setup_out_plugins'",
"C:/Users/USER/Documents/logstash-7.6.0/logstash-7.6.0/logstash-core/lib/logstash/java_pipeline.rb:212:in start_workers'", "C:/Users/USER/Documents/logstash-7.6.0/logstash-7.6.0/logstash-core/lib/logstash/java_pipeline.rb:154:in run'",
"C:/Users/USER/Documents/logstash-7.6.0/logstash-7.6.0/logstash-core/lib/logstash/java_pipeline.rb:109:in `block in start'"]}

i suppose, it is because, that ActiveMQ expects ssl connection and it is not one.
What could i do?
Thx

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.