spring-attic / spring-ide

Spring Development Environment for Eclipse
299 stars 126 forks source link

PT: #158741609 Cache CF client info at cf client provider cache level #295

Closed BoykoAlex closed 6 years ago

BoykoAlex commented 6 years ago

Either the client provider needs to go away on disconnect or the info needs to be cached at the client provider cache. Otherwise DefaultClientRequestsV2 resets the cached info mono when new client is constructed.

@nierajsingh here is the fix for this from the caching info side. If you like it more than removing clients from cache then feel free to merge it. I have tested it with connecting existing disconnected targets as well new targets (i.e. create target, disconnect then connect after 10 mins) Worked for me in all cases.