Hi William,
I think it should be OK as the header is new to Exchange.
And you may need to go through the http transport related components to
make this header really work :)
Willem
William Tam wrote:
I am proposing to replace component local header
"CamelCxfBeanRequestBasePath" in cxfbean by a new header
"CamelHttpBaseUri" to be defined in Exchange.java. That can improve
interoperability between components that deal with HTTP/REST. Let me
know if there is any concerns. Thx.
- William
Index: camel-core/src/main/java/org/apache/camel/Exchange.java
===================================================================
--- camel-core/src/main/java/org/apache/camel/Exchange.java (revision
800771)
+++ camel-core/src/main/java/org/apache/camel/Exchange.java (working copy)
@@ -69,6 +69,7 @@
String GROUPED_EXCHANGE = "CamelGroupedExchange";
+ String HTTP_BASE_URI = "CamelHttpBaseUri";
String HTTP_CHARACTER_ENCODING = "CamelHttpCharacterEncoding";
String HTTP_METHOD = "CamelHttpMethod";
String HTTP_PATH = "CamelHttpPath";