|
>Could I use data queues for looking up >inventory quantities? Sure. Think of data queues as messengers. On the one end you have a client who needs to know the on hand quantity. So he puts a message on the queue with the part number. Then you have a server program you wrote who is listening to that queue. When he hears the message, he does the lookup and returns the quantity by putting a message on another queue (or the same one.) You can make the queues 'keyed' so that the two ends of the transaction share a common ID number. client: send ID 541, part ABC server: recv ID 541, part ABC look up ABC send ID 541, part ABC, qty 34 client: recv ID 541, part ABC, qty 34 --buck
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.