Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 2.2
-
Component/s: Core: (other)
-
Labels:
-
User impact:Low
-
Effort points:0
-
Affects Docs:Yes
-
Migration Impact:Every connector in xml config now has a 'validateConnections' boolean attribute (only few had it before). It must be treated as a hint only (default is true), and transports may honor it to do any extra validation in a transport-specific way.
-
Similar Issues:None
Description
The isAbleToConnect() method was added to make retry policies work efficiently, but it might be a performance hit in extreme cases so we should add a flag in order to disable it and/or automatically disable it when retry is not configured.
Issue Links
- relates to
-
MULE-4147
Current contract for Connectable.validateConnection() is wrong
-
Can we also name it and the method isValidateConnections()? This would be consistent with e.g. what TcpConnector already has.