java - How to implement Redis Multi-Exec by using Spring-data-Redis - Stack Overflow
The reason for the exception is probably that the Spring template implementation does not reuse the same connection for .multi() and .exec(). You can try to use execute() via a callback:
Read full article from java - How to implement Redis Multi-Exec by using Spring-data-Redis - Stack Overflow
No comments:
Post a Comment