camel-http4 component uses a GET request even if the URI contains a query string

Solution Verified - Updated -

Issue

The documentation for the camel-http4 component here sets out the conditions that control whether the component makes an HTTP GET or HTTP POST. However, it does not indicate which condition has priority. In some circumstances, even setting a query string in the URI, which ought to force the use of a GET, still leads to a POST.

Environment

  • Red Hat JBoss Fuse
    • 6.x

Later Fuse versions might also be affected.

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content