public class ReviewMessage extends AbstractActionPipelineProcessor {
private String input = "Reviewer";
public Message process(Message message) throws ActionProcessingException {
OrderHeader order = (OrderHeader) message.getBody().get("TheOrderHeader");
Customer customer = (Customer) message.getBody().get("TheCustomer");
System.out.println("{ ================ " + input);
System.out.println("Customer: " + customer);
System.out.println("Order Priority: " + order.getOrderPriority());
System.out.println("Order Discount: " + order.getOrderDiscount());
System.out.println("Order Total: " + order.getTotalAmount());
System.out.println("} ================ " + input);
// System.out.println("Order: " + order);
return message;
}