Last active
May 10, 2019 17:21
-
-
Save gauravat16/7e2e185b554a1de12b3de0a69edbf657 to your computer and use it in GitHub Desktop.
Spring Session with Redis
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.springframework.boot.SpringApplication; | |
import org.springframework.boot.autoconfigure.SpringBootApplication; | |
import org.springframework.cloud.netflix.eureka.EnableEurekaClient; | |
import org.springframework.session.data.redis.config.annotation.web.http.EnableRedisHttpSession; | |
@EnableRedisHttpSession | |
@EnableEurekaClient | |
@SpringBootApplication | |
public class UIApplication { | |
public static void main(String[] args) { | |
SpringApplication.run(UIApplication.class, args); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment