Skip to content

Commit

Permalink
✨ 简化替换
Browse files Browse the repository at this point in the history
  • Loading branch information
li-xunhuan committed Feb 12, 2025
1 parent f2af1c5 commit bc9d999
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 41 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
import org.dromara.mica.mqtt.core.server.dispatcher.IMqttMessageDispatcher;
import org.dromara.mica.mqtt.core.server.event.IMqttConnectStatusListener;
import org.dromara.mica.mqtt.core.server.serializer.IMessageSerializer;
import org.dromara.mica.mqtt.core.server.serializer.JsonMessageSerializer;
import org.dromara.mica.mqtt.core.server.store.IMqttMessageStore;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.Bean;
Expand All @@ -40,7 +41,7 @@ public class MqttBrokerConfiguration {

@Bean
public IMessageSerializer messageSerializer() {
return new JacksonMessageSerializer();
return new JsonMessageSerializer();
}

@Bean
Expand Down

0 comments on commit bc9d999

Please sign in to comment.