ticket #2322 updated camel to 2.10.0
ticket #1928 added camel samples to a proper sample project
This commit is contained in:
parent
234ffa62e6
commit
7071ac2b8d
17 changed files with 144 additions and 193 deletions
|
|
@ -26,7 +26,7 @@ public class HttpProducer extends UntypedProducerActor{
|
|||
CamelMessage camelMessage = (CamelMessage) message;
|
||||
Set<String> httpPath = new HashSet<String>();
|
||||
httpPath.add(Exchange.HTTP_PATH);
|
||||
return camelMessage.addHeaders(camelMessage.getHeaders(httpPath));
|
||||
return camelMessage.withHeaders(camelMessage.getHeaders(httpPath));
|
||||
} else return super.onTransformOutgoingMessage(message);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue