I am trying to setup logstash jms input plugin read from Solace PubSub. I am using Logstash 7.3.1 with the JMS plugin version 3.1.0.
I am able to successfully connect to Solace however the pipeline fails to generate an event.
My configuration files for logstash:
jms.conf
input {
jms {
# Logstash Configuration File Settings
include_header => true
include_properties => true
include_body => true
use_jms_timestamp => true
destination => "<queue name>"
pub_sub => false
# Location of yaml file, and which section to use for configuration
yaml_file => "<absolute path to yaml config>\jms.yml"
yaml_section => "solace"
}
}
output {
stdout {
codec => json
}
}
jms.yml
# Solace
solace:
:factory: com.solacesystems.jms.SolConnectionFactoryImpl
:host: '<host>'
:username: <user>
:password: <pass>
:transport_type: 1
:require_jars:
- <absolute path to jar>\commons-lang-2.6.jar
- <absolute path to jar>\commons-logging-1.1.3.jar
- <absolute path to jar>\geronimo-jms_1.1_spec-1.1.1.jar
- <absolute path to jar>\sol-jms-10.6.2.jar
I am getting the following error message:
[2019-08-30T11:50:03,723][ERROR][logstash.inputs.jms ] Failed to create event {:message=>Java::ComSolacesystemsJmsMessage::SolBytesMessage: {"id":"testid","value":"test_value"}
The exception:
:exception=>org.logstash.MissingConverterException: Missing Converter handling for full class name=com.solacesystems.jms.impl.SolTopicImpl, simple name=SolTopicImpl,
Any help is appreciated. Thanks!