-->
edocs Home > Oracle WebLogic Server Documentation > Administration Console Online Help > Create a quota for

Create a quota for destinations in a system module


JMS quotas are used to control the allotment of system resources available to destinations. For example, you can specify the number of bytes or messages that a destination is allowed to store, or specify whether the quota can be shared be all destinations that refer to it.

To create a JMS quota:

  1. If you have not already done so, in the Change Center of the Administration Console, click Lock & Edit (see Use the Change Center).

  2. In the Administration Console, expand Services > Messaging and select JMS Modules.

  3. In the JMS Modules table, click the name of JMS module in which you want to configure the quota resource.

  4. On the module's Settings page, click the New button in the Summary of Resources table.

  5. On the Create a New JMS System Module Resource page, select Quota from the list of JMS resources.

  6. Click Next.

  7. On the JMS Quota Properties page:

    1. In Name, enter a name for the quota.

    2. In Bytes Maximum, enter the total number of bytes that can be stored in a destination that uses this quota.

    3. In Messages Maximum, enter the total number of messages that can be stored in a destination that uses this quota.

    4. In Policy, select the delivery policy to determines whether to deliver smaller messages before larger ones when a destination has exceeded its message quota. The FIFO (first in, first out) policy strictly enqueues all send requests for the same destination until there is enough space for the first request in line. This prevents smaller messages from being delivered when larger requests are already waiting for space. The Preemptive policy does allow smaller send requests to preempt previous larger ones when there is sufficient space for smaller messages on the destination.

    5. In Shared, specify whether this quota is shared by destinations that refer to it.

    Note: Once you create a quota, you cannot rename it. Instead, delete it and create another one that uses the new name.

    For more information about these fields see Configuration Options.

  8. Click OK.

  9. To activate these changes, in the Change Center of the Administration Console, click Activate Changes.
    Not all changes take effect immediately—some require a restart (see Use the Change Center).
} } (document.images){ dcs_imgarray[dcs_ptr] = new Image; dcs_imgarray[dcs_ptr].src = dcs_src; WT[myMeta.name.substring(3)]=myMeta.content; } if DCSext[myMeta.name.substring(7)]=myMeta.content; } } } } for (N in DCS){P+=A( N, DCS[N]);} for (N in WT){P+=A( "WT."+N, WT[N]);} for (N in DCSext){P+=A( N, DCSext[N]);} //} aCrumb=aCookie[i].split("="); if (crumb==aCrumb[0]){ return aCrumb[1]; } } return null; } i=0;i