I’m currently trying to add properties component with location set to my properties file to use properties placeholders in my project: But addComponent() function expects Component type argument, not PropertiesComponent even though PropertiesComponent extends the DefaultComponent class. I’ve added…
Tag: integration
Why my REST api created with camel servlet doesn’t expose?
I’m currently struggling with exposing the REST api in my project using Apache Camel. When I run the project it seems to be fine in the console, but it just doesn’t work: curl http://127.0.0.1:8080/materials curl: (7) Failed to connect to 127.0.0.1 port 8080: Connection refused Here’s the po…
Spring 5.x and CDI 2.x Integration Options
Considering Spring’s 5.x baseline and CDI’s baseline 2.x, what more viable options should I consider to integrate them into a project with JSF 2.3, since JSF 2.3 is coupled with the CDI? Bridges? Custom Bean Factories? Others? Answer We use bean producers to access Spring objects in CDI. As in the…