2 Replies Latest reply on Dec 7, 2010 3:52 AM by jeroen.v

    address-full-policy=FAIL

    jeroen.v Newbie

      Hi all,

       

      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.

       

      Thanks,

      Jeroen