Skip to content

Commit

Permalink
adding 5s delay so status of paid can be seen in order history prior …
Browse files Browse the repository at this point in the history
…to shipped
  • Loading branch information
jeremyary committed May 24, 2017
1 parent a8517a5 commit ee421eb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,7 @@ public void configure() throws Exception {
.post()
.route()
.to("amq:billing.orders.new?transferException=true&jmsMessageType=Text")
.wireTap("direct:warehouse")
.log(LoggingLevel.INFO, "after wiretap...")
.to("log:INFO?showBody=true&showHeaders=true");
.wireTap("direct:warehouse");

rest("/billing/refund/*")
.post()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,6 @@ public static void completeOrder(HttpServletRequest request) throws ClientProtoc
List<OrderItem> orderItems = (List<OrderItem>) request.getSession().getAttribute("orderItems");
try {
HttpResponse response = reduceInventory(orderItems);
logInfo("*** RESPONSE TO reduceInventory IS: " + response.getStatusLine().toString());
if (isError(response)) {
throw new HttpErrorException(response);
}
Expand Down

0 comments on commit ee421eb

Please sign in to comment.