Re: Using simple expression to get header value in spring xml

2023-12-04 Thread Steve973
Thanks, Claus. I have it working with the entire URL in "toD", but the endpoint element has better aesthetics, so I was hoping that would be a viable option. It's not a big deal, though. I finally have everything working, and a little bit more testing to do. It's a shame to have to copy so much

Re: Using simple expression to get header value in spring xml

2023-12-03 Thread Claus Ibsen
Hi That is just an endpoint, its not something evaluated for a given exchange/message when being defined. So you need to just configure them as string literals as-is. So they have special meaning for your component. But what you do is wrong. If you need dynamic uris in Camel then you use toD for

Using simple expression to get header value in spring xml

2023-12-03 Thread Steve973
Hello. I am writing tests for my component with Spring, and configuring in xml. How can I specify these values so that it looks in the header, instead of interpreting these as literal string values? Thanks, Steve