Camel
  1. Camel
  2. CAMEL-1609

Content type for HTTP not being send in header

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.6.0, 2.0-M1
    • Fix Version/s: 1.6.1, 2.0-M2
    • Component/s: camel-http
    • Labels:
      None
    • Environment:

      MAC OSX (Leapord), Eclipse 3.4, TomCat 6

      Description

      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.

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Willem Jiang
            Reporter:
            Frank V. Castellucci
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development