<div dir="ltr"><div>Hello,</div><div><br></div><div>I'm looking for a way of customizing the load balancing strategy used to deliver messages from queues to consumers. Is there a way of doing this?</div><div><br></div><div>In my case, I have messages with a "type" attribute and I want to deliver messages based on this attribute. For example, if I have a queue with the following messages (in order):</div><div><br></div><div>#1: msg-type1</div><div>#2: msg-type1</div><div>#3: msg-type2</div><div>#4: msg-type3</div><div>#5: msg-type2</div><div><br></div><div>I want them to be delivered and processed in the following order:</div><div>#1: msg-type1</div><div>#3: msg-type2</div><div>#4: msg-type3</div><div>#2: msg-type1</div><div>#5: msg-type2</div><div><br></div><div>I'ts a round-robin strategy among message "type" attribute. </div><div><br></div><div>Does anyone have a solution for that?</div><div><br></div><div>Thanks in advance.</div><div><br></div><div>Otávio.</div></div>