logstash-input-jms 3.1.1-java → 3.1.2-java

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 43d374bc1470971209a72c56243b04221ecc0af188a3b5ee8d3c816ca1636770
4
- data.tar.gz: 386171f7028e2683595d3b82f59f4a9a8ef640f732931f6c4d5b049efedaecd1
3
+ metadata.gz: c9523dfd590735b242d04d1e13c9b024367cf864e0e34fdedcd23dfabacead46
4
+ data.tar.gz: afdfffb20005867db82bba2ff40557b3752dcbac1cbcd57fdfcab057b95813d2
5
5
  SHA512:
6
- metadata.gz: e20a3c2b9a67b6fe98b58a892fa722ded77d3a9084ea593bf40879cadad6bf7b688860722e8b019339c982b60b73372cf58af641beaf061b0f1f9916f6f33dd1
7
- data.tar.gz: 6f7cd9f1c40b186f25815572f1db10f66c0d62f837c03d5cafdf655a53bc046cfab3a573a71bb06b66622c76f1ee10713f538bb7ebe958d6f9f10b5c39b96b82
6
+ metadata.gz: 78f2d4db68c4dbf16910aa6813e5d622743e2c7c8cc1cd8c91e2a54cdb31698350df79f6d6bea910ca611c863dcb0d4ff3c1bdee42c9948c00f88c05dfab426b
7
+ data.tar.gz: 2371457a596688f1960f8921508252d3bd78ea072b3283fa6492964a81e07cd288893b4c2379973872f9df202a492e4ad01a0d57115d2397df4a9254e8283e4c
@@ -1,3 +1,6 @@
1
+ ## 3.1.2
2
+ - Docs: Added additional troubleshooting information [#38](https://github.com/logstash-plugins/logstash-input-jms/pull/38)
3
+
1
4
  ## 3.1.1
2
5
  - Added documentation for `factory_settings` configuration setting [#36](https://github.com/logstash-plugins/logstash-input-jms/pull/36)
3
6
 
@@ -335,6 +335,37 @@ selector definitions must be double quoted in the Logstash configuration file, a
335
335
  single quoted, and numeric property values not quoted at all.
336
336
 
337
337
 
338
+ ===== Failed to create Event with MissingConverterException
339
+
340
+ Messages from certain JMS providers may contain headers or properties that Logstash cannot interpret, which can lead to
341
+ error messages such as:
342
+
343
+
344
+ [source,txt]
345
+ -----
346
+ [2019-11-25T08:04:28,769][ERROR][logstash.inputs.jms ] Failed to create event {:message=>Java::ComSolacesystemsJmsMessage::SolTextMessage: ...
347
+ Attributes: {:jms_correlation_id=>"xxxx", :jms_delivery_mode_sym=>:non_persistent, :jms_destination=>"destination", :jms_expiration=>0, :jms_message_id=>"xxxxxx", :jms_priority=>0, :jms_redelivered=>false, :jms_reply_to=>#<Java::ComSolacesystemsJmsImpl::SolTopicImpl:0xdeadbeef>, :jms_timestamp=>1574669008862, :jms_type=>nil}
348
+ Properties: nil, :exception=>org.logstash.MissingConverterException: Missing Converter handling for full class name=com.solacesystems.jms.impl.SolTopicImpl, simple name=SolTopicImpl, :backtrace=>["org.logstash.Valuefier.fallbackConvert(Valuefier.java:98)..."]}
349
+ :exception=>org.logstash.MissingConverterException: Missing Converter handling for full class name=com.solacesystems.jms.impl.SolTopicImpl
350
+ -----
351
+
352
+ To get around this, use the `skip_headers` or `skip_properties` configuration setting to avoid attempting to process
353
+ the offending header or property in the message.
354
+
355
+ In the example shown above, this attribute is causing the
356
+ `MissingConverterException`:
357
+
358
+ `jms_reply_to=>#<Java::ComSolacesystemsJmsImpl::SolTopicImpl:0xdeadbeef>`
359
+
360
+
361
+ To avoid this error, the configuration should include the following line:
362
+
363
+ [source,ruby]
364
+ -----
365
+ skip_headers => ["jms_reply_to"]
366
+ -----
367
+
368
+
338
369
  [id="plugins-{type}s-{plugin}-options"]
339
370
  ==== Jms Input Configuration Options
340
371
 
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
 
3
3
  s.name = 'logstash-input-jms'
4
- s.version = '3.1.1'
4
+ s.version = '3.1.2'
5
5
  s.licenses = ['Apache License (2.0)']
6
6
  s.summary = "Reads events from a Jms Broker"
7
7
  s.description = "This gem is a Logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/logstash-plugin install gemname. This gem is not a stand-alone program"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-input-jms
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.1
4
+ version: 3.1.2
5
5
  platform: java
6
6
  authors:
7
7
  - Elasticsearch
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-07-08 00:00:00.000000000 Z
11
+ date: 2019-12-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement