[jboss-user] [JBoss Messaging] - Disable prefetch

davecorcoran do-not-reply at jboss.com
Wed Apr 23 03:38:39 EDT 2008


Hi,

I'm evaluating JBoss messaging and it seems great so far but I've run into a small problem. We're currently using ActiveMQ and have found it to be too unstable, but one of the things it allows you is to set the PrefetchPolicy to 0. In JBoss Messaging if I set PrefetchSize to 0 I get an exception when I create a consumer.

Is it possible to disable prefetch altogether? I know this isn't great for performance but for the time being at least I want to just do a straight forward port of our ActiveMQ code.

Thanks

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4146062#4146062

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4146062



More information about the jboss-user mailing list