段飞宇
2 years ago
1 changed files with 0 additions and 21 deletions
@ -1,21 +0,0 @@
|
||||
package com.hnac.hzims.ticket.processflow.listener; |
||||
|
||||
import com.hnac.hzims.common.config.RedisMessageListener; |
||||
import org.springframework.stereotype.Component; |
||||
|
||||
/** |
||||
* @Author WL |
||||
* @Version v1.0 |
||||
* @Serial 1.0 |
||||
* @Date 2023/3/29 15:45 |
||||
*/ |
||||
@Component |
||||
public class RedisListener { |
||||
|
||||
|
||||
@RedisMessageListener(topic = "name:hello") |
||||
public void message(String message){ |
||||
System.out.println("message = " + message); |
||||
} |
||||
|
||||
} |
Loading…
Reference in new issue