Sus*_*ael 1 apache-camel camel-http
嗨,我是骆驼的新手。我正在从骆驼路线执行https4呼叫。我想获取响应的状态码。我从哪里可以得到?
响应位于Camel的标头CamelHttpResponseCode中。
您可以使用简单的语言获取标题的值
${header.CamelHttpResponseCode}
Run Code Online (Sandbox Code Playgroud)
有关http4组件的更多详细信息,请访问http://camel.apache.org/http4.html。
| 归档时间: |
|
| 查看次数: |
4587 次 |
| 最近记录: |