mirror of
https://gitee.com/san-bing/JChargePointProtocol
synced 2026-05-04 18:09:54 +08:00
拆分protobuf
This commit is contained in:
@@ -10,7 +10,7 @@ package sanbing.jcpp.infrastructure.queue.provider;
|
||||
import sanbing.jcpp.infrastructure.queue.ProtoQueueMsg;
|
||||
import sanbing.jcpp.infrastructure.queue.QueueConsumer;
|
||||
import sanbing.jcpp.infrastructure.queue.QueueProducer;
|
||||
import sanbing.jcpp.proto.gen.ProtocolProto.UplinkQueueMessage;
|
||||
import sanbing.jcpp.proto.gen.UplinkProto.UplinkQueueMessage;
|
||||
|
||||
public interface AppQueueFactory {
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@ import sanbing.jcpp.infrastructure.queue.memory.InMemoryQueueConsumer;
|
||||
import sanbing.jcpp.infrastructure.queue.memory.InMemoryQueueProducer;
|
||||
import sanbing.jcpp.infrastructure.queue.memory.InMemoryStorage;
|
||||
import sanbing.jcpp.infrastructure.queue.settings.QueueAppSettings;
|
||||
import sanbing.jcpp.proto.gen.ProtocolProto.UplinkQueueMessage;
|
||||
import sanbing.jcpp.proto.gen.UplinkProto.UplinkQueueMessage;
|
||||
|
||||
@Slf4j
|
||||
@Component
|
||||
|
||||
@@ -17,7 +17,7 @@ import sanbing.jcpp.infrastructure.queue.QueueProducer;
|
||||
import sanbing.jcpp.infrastructure.queue.discovery.ServiceInfoProvider;
|
||||
import sanbing.jcpp.infrastructure.queue.kafka.*;
|
||||
import sanbing.jcpp.infrastructure.queue.settings.QueueAppSettings;
|
||||
import sanbing.jcpp.proto.gen.ProtocolProto.UplinkQueueMessage;
|
||||
import sanbing.jcpp.proto.gen.UplinkProto.UplinkQueueMessage;
|
||||
|
||||
@Component
|
||||
@ConditionalOnExpression("'${queue.type:null}'=='kafka'")
|
||||
|
||||
Reference in New Issue
Block a user