Beiträge zum Thema “camel”
03. Februar 2014
Clashing Spring placeholders with Camel „simple“ language
Today I tried to build a dynamic endpoint URL for one of my camel routes. I am using the Spring properties bridge to load configuration parameters and I try to build the endpoint URL using my configuration and request headers.
This is what my recipientList looks like:
restlet:?parameter=$simple{in.header.myHeader} The important part is the $simple{in.header.accessToken}. First I was using the usual Camel syntax ${in.header.accessToken}, but always got an exception on startup stating
22. Juni 2011
Unmarshal a CSV file with Apache Camel
Today I tried to work with Apache Camel for the first time. I’m currently reading the book Camel in Action and want to try the example with data that has a meaning to me. I decided to follow the examples of Chapter 3: Transforming data with Camel and try to read rows from a CSV file and convert them with Bindy into annotated POJOs.
But, oh boy, is the documentation lacking.