gnodet-bot commented on code in PR #27770:
URL: https://github.com/apache/camel/pull/27770#discussion_r4257087538
##########
components/camel-mllp/src/main/java/org/apache/camel/component/mllp/MllpEndpoint.java:
##########
@@ -333,6 +333,10 @@ public void setSslContextParameters(SSLContextParameters
sslContextParameters) {
public SSLContextParameters getSslContextParameters() {
return configuration.getSslContextParameters();
}
+
+ public void setHostnameVerification(boolean hostnameVerification) {
+ configuration.setHostnameVerification(hostnameVerification);
+ }
// Utility methods for producers and consumers
Review Comment:
⚠️ **Missing getter for `hostnameVerification`**
`setHostnameVerification(boolean)` is added to `MllpEndpoint` but the
matching `isHostnameVerification()` getter is absent. `MllpConfiguration` has
it, but `MllpEndpoint` does not expose it.
The existing `sslContextParameters` property has both getter and setter on
`MllpEndpoint`. Please add the symmetric getter:
```suggestion
public void setHostnameVerification(boolean hostnameVerification) {
configuration.setHostnameVerification(hostnameVerification);
}
public boolean isHostnameVerification() {
return configuration.isHostnameVerification();
}
```
--
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]