Can you please show the full route? To use the simple language you need to use toD and not to.
-- Andrea Cosentino ---------------------------------- Apache Camel PMC Chair Apache Karaf Committer Apache Servicemix PMC Member Email: ancosen1...@yahoo.com Twitter: @oscerd2 Github: oscerd On Wednesday, August 4, 2021, 01:22:12 PM GMT+2, Penagos Jaime <jaime.pena...@ub.uni-muenchen.de> wrote: Hi everyone, I am currently testing the OAI-PMH component with Camel 3.11.x, the component works as intended, but it doesnt let me use Simple Language in the Producer / Consumer. I want to load an ID from the body of a file, and after some basic processing, use this information as the identifier, but when I start the routes, it just shows in the URL ?verb=GetRecord&identifier=exchangeProperty%7BmyId%7D I've tried using ${exchangeProperty.myId} or the getProperty() builder, but nothing seems to work... Is there a workaround you could recommend to me or something I am missing? Thank you so much fort he insights! Best regards -- Jaime Penagos Ludwig-Maximilians-Universität Universitätsbibliothek Abteilung Informationstechnologie Geschwister-Scholl-Platz 1, 80539 München Tel.: +49 89 2180 5747 E-Mail: jaime.pena...@ub.uni-muenchen.de<mailto:jaime.pena...@ub.uni-muenchen.de>