1
vote
Accepted
Block GetMapping util get message from Redis in Spring boot
I suspect you have 2 instances of RedisMessageSubscriber.
Your controller injects @Service annotated one, but the messages come to the:
@Bean
MessageListenerAdapter messageListener() {
return new ...
1
vote
Why we need clientId and clientSecret?
The client id and client secret is for as the name suggests, the client.
You are not the client, you are the user, or end user. If i have your username and password i can claim to be you.
If i have ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
spring × 213972java × 130554
spring-boot × 54543
spring-mvc × 34347
hibernate × 23983
spring-security × 15111
jpa × 11558
spring-data-jpa × 9270
maven × 8694
rest × 7422
spring-data × 5787
tomcat × 4922
jsp × 4889
json × 4475
mysql × 4325
spring-batch × 4257
thymeleaf × 3653
junit × 3447
spring-integration × 3423
mongodb × 3278
dependency-injection × 2768
transactions × 2688
xml × 2551
jackson × 2530
javascript × 2514