FLUID-5442: Re-implemented based on review.

Queues are separated by read/write and resource (as specified by the directModel).