I have declared one property in the application.properties file like below
hu.ednpoint=https://${serverhost.name}/subscription/event
de.ednpoint=https://${serverhost.name}/consume/event
I am expecting the value of ${serverhost.name} will be overridden by api.xfjj.com:443 but it's giving the below results accessing values camel route
.log("{{hu.ednpoint}}")
.log("{{de.ednpoint}}")
.to("{{de.ednpoint}}")
.end()
Expected results :
hu.ednpoint=https://api.xfjj.com:443/subscription/event
de.ednpoint=https://api.xfjj.com:443/consume/event
Actual Results :
hu.ednpoint=https:/subscription/event
de.ednpoint=https:/consume/event
I am not sure where it's going wrong. I am really grateful if anyone could help me to resolve this issue.This issue is occurring in camel2 but in camel3 works fine