Spring Applications

Project: Shipping Service

The objective of this exercise is to use messaging to process and ship orders asynchronously.
  1. Implement a service ShippingService that maintains shipping orders in memory and
    • receives ShippingOrder messages from the OrderQueue and processes them by waiting a fixed time interval using a task scheduler
    • receives ShippingCancel messages from the CancelQueue and cancels the shipping if the order has not yet been shipped
    • sends ShippingInfo messages to the InfoQueue whenever the status of an order has changed
  2. Define the application property bookstore.shipping.processing-time and run the ShippingServiceIT integration test.