The InventoryManager creates Java Messaging Service (JMS) messages for the following events:

JMS Message Name

When message occurs

Information included in message

InventoryThresholdReached

When stocklevel, backorderLevel, or preorderLevel falls below its associated threshold.

The ID number of the item.
Name of property (stocklevel, backorderLevel, or preorderLevel)
Value of property
Value of threshold

UpdateInventory

When the stock level increases. (In the RepositoryInventoryManager, it occurs when someone calls inventoryWasUpdated)

The IDs of all items that have stock available and were previously BACKORDERABLE, PREORDERABLE, or OUT_OF_STOCK.


Copyright © 1997, 2012 Oracle and/or its affiliates. All rights reserved. Legal Notices