Skip to content

Commit

Permalink
refactor: 상수 public으로 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
hyxklee committed Feb 13, 2025
1 parent b3871cf commit 0f622e3
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
import com.gachtaxi.domain.chat.exception.CustomSerializationException;
import com.gachtaxi.domain.chat.exception.RedisSubscribeException;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.data.redis.connection.Message;
import org.springframework.data.redis.connection.MessageListener;
import org.springframework.data.redis.core.RedisTemplate;
Expand All @@ -14,12 +13,11 @@
import org.springframework.messaging.simp.SimpMessageSendingOperations;
import org.springframework.stereotype.Component;

@Slf4j
@Component
@RequiredArgsConstructor
public class RedisChatSubscriber implements MessageListener {

private static final String CHAT_ROOM_PREFIX = "/sub/chat/room/";
public static final String CHAT_ROOM_PREFIX = "/sub/chat/room/";

private final RedisTemplate<String, ChatMessage> chatRedisTemplate;
private final SimpMessageSendingOperations simpMessageSendingOperations;
Expand Down

0 comments on commit 0f622e3

Please sign in to comment.