Logstash input jms plugin problem for reading message from tibco ems broker

in my elk setup with logstash version 2.2 .i am trying to pull the messages from tibco jms broker on certain queue

for this my logstash config file is

input{
jms {
include_header => false
include_properties => false
include_body => true
use_jms_timestamp => false
interval => 10
yaml_file => "W:/jms.yml"
#queue_name => "emhjms"
destination => "emhjms"
yaml_section => "mybroker"
}
}
output {
stdout {}
}
in the above code if i un comments queue_name its giving error
[31mUnknown setting 'queue_name' for jms {:level=>:error}←[0m
Error: Something is wrong with your configuration.
so i commented queue_name property

and my jms.yml file is

Tibco EMS

ems:
:jndi_name: QueueConnectionFactory
:jndi_context:
java.naming.factory.initial: com.tibco.tibjms.naming.TibjmsInitialContextFactory
java.naming.provider.url: tcp://localhost:7222
:require_jars:
- C:\software\tibco\ems\6.3\lib\jms.jar
- C:\software\tibco\ems\6.3\lib\tibjms.jar
- C:\software\tibco\ems\6.3\lib\tibcrypt.jar

after this if i running the logstash -f <filexxxx.config> i am getting error

←[33mJMS Consumer died {:exception=>#<TypeError: can't dup NilClass>, :backtrace=>["org/jruby/RubyKernel.java:2029:in dup'", "C:/Users/xprk313/Softwares/logstash-2.2.0/vendor/bundle/jruby/1.9/gems/jruby-jms-1.2.0-java/lib/jms/connectio 2.2.0/vendor/bundle/jruby/1.9/gems/jruby-jms-1.2.0-java/lib/jms/connection.rb:50:instart'", "C:/Users/xprk313/Softwares/logstash-2.2.0/vendor/bundle/jruby/1.9/gems/jruby-jms-1.2.0-java/lib/jms/connection.rb:70:in session'", "C:/Users ogstash-input-jms-2.0.2-java/lib/logstash/inputs/jms.rb:183:inrun_consumer'", "C:/Users/xprk313/Softwares/logstash-2.2.0/vendor/bundle/jruby/1.9/gems/logstash-input-jms-2.0.2-java/lib/logstash/inputs/jms.rb:261:in run'", "C:/Users/xp tash-core-2.2.0-java/lib/logstash/pipeline.rb:316:ininputworker'",

even i changed the yml file as mentioned below still same issue

:factory: com.tibco.tibjms.TibjmsConnectionFactory
:broker_url: tcp://localhost:7222
:username: admin
:password:
:require_jars:
- C:\software\tibco\ems\6.3\lib\jms.jar
- C:\software\tibco\ems\6.3\lib\tibjms.jar
- C:\software\tibco\ems\6.3\lib\tibcrypt.jar

I have a similar error and I found my problem was about the indent in my yml file.
Look my version of your YAML file.