Operation mapping
- •redis:set (with TTL) → redisTemplate.opsForValue().set(key, value, ttl)
- •redis:get → redisTemplate.opsForValue().get(key)
- •redis:del → redisTemplate.delete(key)
- •redis:exists → redisTemplate.hasKey(key)
- •redis:increment → redisTemplate.opsForValue().increment(key)
- •redis:publish → redisTemplate.convertAndSend(channel, message)
Before and after
<redis:set config-ref="Redis_Config" key="#[vars.key]" value="#[payload]"/>redisTemplate.opsForValue().set(key, payload);How the conversion is validated
Redis is verified against a real Redis instance running in a container — the converted app reads and writes against the actual service and results are compared, not mocked.
