Browse Source

1.包名修复

master
zhenghaoyu 11 months ago
parent
commit
6ff9a44aa8
  1. 2
      blade-service/logpm-distribution/src/main/java/com/logpm/distribution/config/CustomMessageConverter.java
  2. 2
      blade-service/logpm-factory/src/main/java/com/logpm/factory/config/CustomMessageConverter.java
  3. 6
      blade-service/logpm-factory/src/main/java/com/logpm/factory/config/RabbitMqConfiguration.java
  4. 2
      blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/config/CustomMessageConverter.java
  5. 2
      blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/config/CustomMessageConverter.java

2
blade-service/logpm-distribution/src/main/java/com/logpm/distribution/config/CustomMessageConverter.java

@ -1,4 +1,4 @@
package com.logpm.factorydata.olo.config;
package com.logpm.distribution.config;
import cn.hutool.json.JSONUtil;
import org.springblade.core.secure.BladeUser;

2
blade-service/logpm-factory/src/main/java/com/logpm/factory/config/CustomMessageConverter.java

@ -1,4 +1,4 @@
package com.logpm.factorydata.olo.config;
package com.logpm.factory.config;
import cn.hutool.json.JSONUtil;
import org.springblade.core.secure.BladeUser;

6
blade-service/logpm-factory/src/main/java/com/logpm/factory/config/RabbitMqConfiguration.java

@ -1,8 +1,8 @@
package com.logpm.factory.config;
import com.alibaba.nacos.shaded.com.google.common.collect.Maps;
import com.logpm.factorydata.olo.config.CustomMessageConverter;
import lombok.extern.slf4j.Slf4j;
import org.springblade.common.constant.ModuleNameConstant;
import org.springblade.common.constant.RabbitConstant;
import org.springframework.amqp.core.*;
import org.springframework.amqp.rabbit.connection.ConnectionFactory;
@ -15,8 +15,6 @@ import org.springframework.context.annotation.Configuration;
import java.util.Map;
import static io.protostuff.MapSchema.MessageFactories.HashMap;
/**
* RabbitMQ配置主要是配置队列如果提前存在该队列可以省略本配置类
*
@ -27,7 +25,7 @@ import static io.protostuff.MapSchema.MessageFactories.HashMap;
public class RabbitMqConfiguration {
@Bean
public RabbitTemplate createRabbitTemplate(ConnectionFactory connectionFactory,CustomMessageConverter converter) {
public RabbitTemplate createRabbitTemplate(ConnectionFactory connectionFactory, CustomMessageConverter converter) {
RabbitTemplate template = new RabbitTemplate();
template.setConnectionFactory(connectionFactory);
template.setMandatory(true);

2
blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/config/CustomMessageConverter.java

@ -1,4 +1,4 @@
package com.logpm.factorydata.olo.config;
package com.logpm.trunkline.config;
import cn.hutool.json.JSONUtil;
import org.springblade.core.secure.BladeUser;

2
blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/config/CustomMessageConverter.java

@ -1,4 +1,4 @@
package com.logpm.factorydata.olo.config;
package com.logpm.warehouse.config;
import cn.hutool.json.JSONUtil;
import org.springblade.core.secure.BladeUser;

Loading…
Cancel
Save