Advertisement
Guest User

Untitled

a guest
Jan 15th, 2013
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.91 KB | None | 0 0
  1. <int-http:outbound-gateway id="httpOutboundGateway" request-channel="fromMyQueue"
  2. url="{outboundGatewayUrl}" reply-channel="nullChannel"
  3. http-method="POST" expected-response-type="java.lang.String" charset="UTF-8">
  4. <int-http:uri-variable name="outboundGatewayUrl" expression="headers['X-CUSTOM-HTTP-REQUEST-URL']" />
  5.  
  6. Caused by:
  7. org.springframework.integration.MessageHandlingException: HTTP request execution failed for URI [{outboundGatewayUrl}]...
  8.  
  9. Caused by:<br> java.lang.IllegalArgumentException: URI is not absolute
  10. at java.net.URI.toURL(URI.java:1080)
  11. at org.springframework.http.client.SimpleClientHttpRequestFactory.createRequest(SimpleClientHttpRequestFactory.java:109)
  12.  
  13. <int-http:uri-variable name="outboundGatewayUrl" expression="'http://foo/bar'" />
  14.  
  15. Caused by:
  16. org.springframework.integration.MessageHandlingException: HTTP request execution failed for URI [{outboundGatewayUrl}]...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement