camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CAMEL-1609) Content type for HTTP not being send in header
Date Wed, 13 May 2009 12:56:50 GMT

     [ https://issues.apache.org/activemq/browse/CAMEL-1609?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Claus Ibsen updated CAMEL-1609:
-------------------------------

    Affects Version/s: 1.6.0
        Fix Version/s: 2.0.0
                       1.6.1
             Assignee: Willem Jiang

This bug should also exist in Camel 1.6.0. It has been reported in FUSE MR 1.6.0.

Willem is looking into it.

> Content type for HTTP not being send in header
> ----------------------------------------------
>
>                 Key: CAMEL-1609
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1609
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-http
>    Affects Versions: 1.6.0, 2.0-M1
>         Environment: MAC OSX (Leapord), Eclipse 3.4, TomCat 6
>            Reporter: Frank V. Castellucci
>            Assignee: Willem Jiang
>             Fix For: 1.6.1, 2.0.0
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message