This content has been marked as final. Show 2 replies
We're using Hornetq to communite between front end and backed applications. The front end thread is blocking until a response returns. Currently I can choose to block the producer when the queue is full or I can drop messages silently (page doesn't help me). Neither is actually something I want. It would be nice if I can report immediately that the wait time is too high and therefore refuse the message.
Is there any way to get this kind of behaviour? The system would in other words throw a fault in case the queue is full.