Hi,

Can anyone help me understand what does the Javadoc for the registry.bind()
and registry.unbind() mean when it says
The Javadoc of the bind() method says *Binds the bean to the repository (if
possible).If the bean is CamelContextAware then the registry will automatic
inject the context if possible. *What does it mean 'if possible' and how do
I know if my bean is CamelContextAware?

As posted in the question at Stackoverflow I am successfully unbinding an
existing bean and then binding it back to the Camel Registry with new
values but the Camel route I am building dynamically with that bean doesn't
show the latest values for the bean and as such the route fails. I am duly
stopping and removing the route before recreating it.

I have posted the whole question at
https://stackoverflow.com/questions/79481769/why-bean-is-not-getting-upated-in-camelcontext
.

Regards,
Dipak.

Reply via email to