0

I'm using the EMS .NET client to send and receive messages from a queue. The queue is created dynamically, at runtime.

I need to override the default queue properties. Specifically, I need to disable prefetching. However, the default prefetch count is set to 5 on the server, and this is the value which gets inherited.

Stepping through the code, I can see the queue is created during the Session.CreateConsumer() call, but I see no mechanism to specify any settings here.

Is it possible to create a dynamic queue with the prefetch behaviour disabled?

Chris Brook
  • 2,335
  • 20
  • 24
  • ActiveMQ seems to have something akin to what I need: [Destination Options](http://activemq.apache.org/destination-options.html) – Chris Brook Nov 30 '15 at 16:32
  • Related question: http://stackoverflow.com/questions/4143711/working-around-pre-fetch-in-tibco-ems-and-net-api – Chris Brook Nov 30 '15 at 17:01

0 Answers0