Claus Ibsen created CAMEL-27982:
-----------------------------------

             Summary: camel-spring-redis - 
SpringRedisIdempotentRepository.clear() deletes the whole Redis database
                 Key: CAMEL-27982
                 URL: https://issues.apache.org/jira/browse/CAMEL-27982
             Project: Camel
          Issue Type: Bug
          Components: camel-spring-redis
            Reporter: Claus Ibsen
             Fix For: 4.25.0


h4. 1. SpringRedisIdempotentRepository.clear()

clear() runs FLUSHDB, which deletes every key of the Redis database, not only 
the set of this repository (repositoryName). Other data in the same database is 
lost.

Proposed change: redisTemplate.delete(repositoryName).

Found while checking the option and console descriptions of CAMEL-27980.

----
_Filed by Claude Code on behalf of davsclaus_



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to