1.

Within the producer can you explain when will you experience QueueFullException occur?

Answer»

As the name suggests this is the exception which occurs when producer SYSTEMS SENDING more messages above and beyond the capacity of the broker system then brokers would not be able to handle the same. The QUEUE gets full at broker end so no incoming request can be handled any more. As producer systems do not have any information on the capacity of the broker system RESULTS in such exceptions. The messages GET overflowed at broker end. To avoid such a scenario we should have multiple systems working as a broker system so messages can be evenly distributed across multiple systems. The clusters environment where we have multiple nodes servicing the message processing avoid such exceptions to occur. The clustering, partitioning helps in avoiding any such exceptions.



Discussion

No Comment Found