reidmorrison / jruby-jms

Complete JRuby API into Java Messaging Specification (JMS)
Apache License 2.0
47 stars 21 forks source link

Setting prefetch size #20

Closed blewa closed 8 years ago

blewa commented 8 years ago

Hi, Do you know what the default prefetch size is set to for clients? Is there a way to go about setting it that I'm just missing?

Thanks!

blewa commented 8 years ago

Nevermind, answered my own question here. Appending ?jms.prefetchPolicy.all=10 to the connection URL will set the prefetch to 10.

reidmorrison commented 8 years ago

Excellent, glad you were able to find the relevant option.