O.F Configurtion changes: the max_queue_size=5 ,
queue_overflow_strategy = 0 at the configuration file.
While openning producer and consumer on q1 and
enqueued 10 messages , instead of 5 messages 6
messages could dequeued.
After the O.F strategy changed to
queue_overflow_strategy = 1 ,the following exception
was shown which mean that the actual queue size is 6.
java.lang.IllegalStateException: Queue overflow queue
size = 6 queue name =q1
Log in to post a comment.