Description
There is some logic in BoxEndpoint where it is supposed to see if the endpoint configuration is the same as that set on the component, and if it is, reuse the 'shared' BoxAPIConnection from the component.
Since there's no equals / hashCode methods on BoxConfiguration, the equality check always fails and a new BoxAPIConnection is created for every endpoint. This potentially has a significant impact on the application startup time, as seen in the Camel Quarkus camel-box integration test:
Attachments
Issue Links
- links to