Advertisement
Guest User

Untitled

a guest
Dec 14th, 2017
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. from("direct:start")
  2. .setHeader(Exchange.HTTP_QUERY,constant("USERNAME=__&PASSWORD=__"))
  3. .to("https4://someAddress.com/api/controls/uploadAndImportFileFromCSV")
  4. .to("stream:out");
  5.  
  6. org.apache.camel.CamelExecutionException: Exception occurred during execution on the exchange: Exchange[ID-rajat-Lenovo-G50-70-1513247400372-0-1]
  7. org.apache.camel.util.ObjectHelper.wrapCamelExecutionException(ObjectHelper.java:1847)
  8. .........
  9. Caused by: org.apache.camel.http.common.HttpOperationFailedException: HTTP operation failed invoking https4://someAddress.com/api/controls/uploadAndImportFileFromCSV?USERNAME=__&PASSWORD=__ with statusCode: 599
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement