overrun policy with priority - Weblogic

This is a discussion on overrun policy with priority - Weblogic ; env: weblogic 7 sp2 i have a queue sorted by JMSPriority using a destination key. the messages are non durable and there is a message limit on the queue. when the queue is full (at its message limit) i want ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: overrun policy with priority

  1. overrun policy with priority

    env: weblogic 7 sp2

    i have a queue sorted by JMSPriority using a destination key. the
    messages are non durable and there is a message limit on the queue.

    when the queue is full (at its message limit) i want to have the message
    with the lowest priority discarded and keeping the new message, rather
    than just having the new message discarded.

    is there any way to do this in WLS 7?

    i looked at the overrun policy on the connection factory and tried 'Keep
    New' however as per the documentation, this is only for multicast messages.


  2. Re: overrun policy with priority



    Simon Evans wrote:

    > env: weblogic 7 sp2
    >
    > i have a queue sorted by JMSPriority using a destination key. the
    > messages are non durable and there is a message limit on the queue.
    >
    > when the queue is full (at its message limit) i want to have the message
    > with the lowest priority discarded and keeping the new message, rather
    > than just having the new message discarded.
    >
    > is there any way to do this in WLS 7?


    No, except by switching to multicast, as you state below.

    A couple of random ideas:
    You might consider using multiple queues - one per priority, or
    you might consider setting a short expiration time on low priority
    messages.

    >
    > i looked at the overrun policy on the connection factory and tried 'Keep
    > New' however as per the documentation, this is only for multicast messages.
    >



+ Reply to Thread