Read the content of an exchange property with dynamically set name

2020-08-16 Thread Gerald Kallas
Dear all, I've set an exchange property like $.*.etc.fileCreateFlag This contains finally the name of an other JSON property in the message body. I want to read the content of this exchange property with dynamically set name like ${${exchangeProperty.fileCreateFlag}} This doubled reference d

Re: Read the content of an exchange property with dynamically set name

2020-08-16 Thread Gerald Kallas
The try was ${exchange.Property.${exchangeProperty.fileCreateFlag}} Doesn't work either. > Gerald Kallas hat am 16.08.2020 11:40 geschrieben: > > > Dear all, > > I've set an exchange property like > > suppressExceptions="true">$.*.etc.fileCreateFlag > > This contains finally the name of

Camel context created 3 times for a web application

2020-08-16 Thread rinilnath r
Hi, I am seeing that camel context is being created multiple times (3 times) parallely when deploying and running the web app in tomcat 9. Web Application tech stack details Spring 5 tomcat 9 Camel.: 2.x Quartz: 1.8.6 Java 1.8 Camel context names in log im seeing as camel-1, camel-2, camel-3 ea

Hibernate 5 session exception - after camel 3 migration

2020-08-16 Thread rinilnath r
Hi, I am working for a project that involves Camel 2.x and that is only to read files from the folder and process (using business logic and write to db) and finally moves it to another folder in the same system. I migrated camel to camel latest 3.x (3.4.1) and when i did that , all DAO classes sh