servicemix 4.4.1 を実行しています。camel-http4 を使用して Web サイトへの http 呼び出しを行おうとしています。どの Web サイトを呼び出そうとしても、次のエラーが発生し続けます: /servicemix-4.4.0.htmlと statusCode: 405
ここに私のコードスニペットがあります:
<camelContext xmlns="http://camel.apache.org/schema/spring">
<route>
<from uri="activemq://events1"/>
<setHeader headerName="CamelHttpMethod">
<constant>POST</constant>
</setHeader>
<to uri="http://servicemix.apache.org/downloads/servicemix-4.4.0.html"/>
<to uri="log:events"/>
</route>
</camelContext>
いくつかのサイトを試し、さまざまな http メソッド (投稿と取得) を使用してみましたが、同じエラーが発生し続けます。何か案が?前もって感謝します。