camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Soto <>
Subject Remove breadcrumbId from Rest Service Response Headers
Date Wed, 10 Jun 2015 15:16:22 GMT
Hi there,

Is there a way to remove the “breadcrumbId" header from the Rest Service response?

I am using Camel 2.15.1
Here is my Route :

	<redeliveryPolicy maximumRedeliveries="1" />
	<camel:setHeader headerName="CamelHttpResponseCode">
	<camel:removeHeader headerName="breadcrumbId"/>

<rest path="/">
	<post uri="test">
		<to uri="direct:test" />

	<from uri="direct:test" />

		<unmarshal ref="myDataFormat"/>
		<removeHeader  headerName="breadcrumbId"/>

Adding the removeHeaders does not seem to cause any effect; I am still getting the breadcrumbId
header in the HTTP response headers.

Best regards,
Alex soto

View raw message