orpiske commented on a change in pull request #6629:
URL: https://github.com/apache/camel/pull/6629#discussion_r778118738
##########
File path:
components/camel-fhir/camel-fhir-component/src/main/java/org/apache/camel/component/fhir/FhirComponent.java
##########
@@ -45,18 +45,28 @@ protected FhirApiName getApiName(String apiNameStr) {
return
getCamelContext().getTypeConverter().convertTo(FhirApiName.class, apiNameStr);
}
+ @Override
+ protected void afterPropertiesSet(FhirConfiguration endpointConfiguration)
{
+ // ensure a client is set on the config
+ if (endpointConfiguration.getClient() == null &&
configuration.getClient() == null) {
+ if (configuration != null) {
Review comment:
Thanks for double-checking.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]