How to set the HTTP method to be used by the camel-http component in a Java DSL route?

Solution Verified - Updated -

Issue

  • How to set the HTTP method to be used by the camel-http component in a Java DSL route?

  • How to explicitly configure camel-http to use the HTTP methods GET or POST?

Environment

  • Fuse Mediation Router 2.0
  • Fuse Mediation Router 1.6

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