如何设置" Referer" Apache Camel路由中的标头?

时间:2015-05-08 07:09:21

标签: apache apache-camel http-referer

有谁知道如何设置" Referer" Apache Camel DSL中的标头? 我在下面做。它不起作用。

<setHeader headerName="Referer">
                <constant>ttttt</constant>
            </setHeader>

1 个答案:

答案 0 :(得分:1)

Please show us your route because only this header setting is not enough information.

I found a similar question where this header is used: how-to-set-http-headers-on-camel-http4-endpoin