Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/ios/107.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/apache-kafka/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Apache camel apache camel的Https url数据下载问题_Apache Camel - Fatal编程技术网

Apache camel apache camel的Https url数据下载问题

Apache camel apache camel的Https url数据下载问题,apache-camel,Apache Camel,我在apache camel https4调用中遇到了一个独特的问题。我的情况如下: 我必须使用请求正文中的身份验证凭据(请求标识符)向第三方发出post https请求。-这个很好用 示例url:https4://?httpClientConfigurer=proxyClientConfigurer 成功的响应将给我一个下载url以请求文件下载。此url以以下格式返回:https://?args=,如果通过浏览器调用,将立即下载所有文件 但是,为了通过apache camel调用它,我必须使用

我在apache camel https4调用中遇到了一个独特的问题。我的情况如下:

  • 我必须使用请求正文中的身份验证凭据(请求标识符)向第三方发出post https请求。-这个很好用 示例url:https4://?httpClientConfigurer=proxyClientConfigurer

  • 成功的响应将给我一个下载url以请求文件下载。此url以以下格式返回:https://?args=,如果通过浏览器调用,将立即下载所有文件

  • 但是,为了通过apache camel调用它,我必须使用https4,并且需要附加httpClientConfigurer=proxyClientConfigurer以下载请求url。因此,最终的url类似于https4://?args=&httpClientConfigurer=proxyClientConfigurer,这是它失败的部分

  • 服务器将其视为新请求,并查找不存在的身份验证/信息,因此调用失败。
    我不知道我做错了什么?

    我没有通过Camel找到解决方案,但我继续使用了正常的Http Get和下载url