Uploaded image for project: 'FUSE Mediation Router'
  1. FUSE Mediation Router
  2. MR-172

Camel HTTP Component does not send Content-Type Header

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.6.1.0-fuse
    • 1.6.0.0-fuse
    • None
    • None

      I use the following route:

      final String spurl = protocols.get(0).getEpUrl();
      cc.addRoutes(new RouteBuilder()

      { public void configure() { from("direct:say") .setHeader(HttpConstants.HTTP_CONTENT_TYPE, constant("application/octet-stream")) .to(spurl); }

      });

      where "spurl" is the servlet URL endpoint. The messages are being sent to the servlet, but the content type in the "doPost(...)" is null.

            willem.jiang Willem Jiang (Inactive)
            rhn-support-qluo Joe Luo
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: