camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scottdawson <>
Subject Re: Sending payload from http to jms...Camel.
Date Mon, 28 Apr 2014 13:09:28 GMT
I guess you're using POST or PUT to send the message to the HTTP endpoint,

I've used this route successfully within ServiceMix:
        <from uri="jetty:"/>
        <removeHeaders pattern="*"/> 
        <to uri="activemq:queue:cds?username=smx&amp;password=smx"/> 
        <setHeader headerName="Exchange.CONTENT_TYPE">

The removeHeaders is not essential. It's just there so that request headers
are not copied to the response. This route sends the correlation ID back to
the HTTP client.


View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message