Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Setting the Qpid pre-fetch to 1 for your client means that message priority conflation will be honoured by the Qpid broker as it dispatches messages to your client. A default for all client connections can be set via a system property:

...

There is a slight performance cost here if using the receive() method and you could test with a slightly higher pre-fetch (up to 10) if the trade-off between throughput and prioritisation conflation is weighted towards the former for your application. (If you're using OnMessage() then this is not a concern.)

...

If you are using the receive() method to consume messages then you should also only use one consumer per session with priority queues. If you're using onMessage() then this is not a concern.

...