Hi,
You should be able to do the following
exchange.getIn.getHeader(property, String.class);
For more examples check our the following link
http://camel.apache.org/loan-broker-example.html
http://camel.apache.org/loan-broker-example.html
Cheers,
Ashwin...
SATYA Arvapalli wrote:
>
> Hi Camel Gurus,
> I am new to Camel , can you please help me on solving this.I have created
> custom binding component and setting property for exchange object.When i
> tried to read property as header in camel code and camel was not able to
> fetch the property value.Can you please tell ,How to pass information like
> key/value pair from binding component to Camel and vice versa.
> Satya
>
-----
---
Ashwin Karpe, Sr. Principal Consultant, PS - Opensource Center of Competence
Progress Software Corporation
14 Oak Park Drive
Bedford, MA 01730
---
+1-972-304-9084 (Office)
+1-972-971-1700 (Mobile)
----
Blog: http://opensourceknowledge.blogspot.com/
--
View this message in context:
http://old.nabble.com/Unable-to-pass-header-information-from-binding-component-to-Camel-tp28679681p28680163.html
Sent from the Camel - Users mailing list archive at Nabble.com.