If, when processing a customer order, the widget inventory is less than the number ordered, a new purchase order is sent to the Manufacturer using Amazon SQS.
当处理客户订单时发现商品库存少于订购数量,那么将使用Amazon SQS向制造商发送一个购买订单。
MessagingBean, illustrated in Listing 4, is a simple POJO with two methods that take an order number and return order details and customer details, respectively.
清单 4 所示的 MessagingBean是个简单的 POJO,有两个方法,都接受订单号,但是分别返回订单细节和客户细节。
A typical use case for adding additional archiving information is the association of a customer and order number with every E-mail that is part of customer communication.
添加附加存档信息的一个典型用例是将客户和订单号与作为客户通信一部分的每一封e - mail关联起来。
应用推荐