|
|
@ -25,11 +25,7 @@ public class SpringEventBusSendMqServiceImpl implements SendMqService {
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
public void send(String topic, String jsonValue, String tagId) {
|
|
|
|
public void send(String topic, String jsonValue, String tagId) {
|
|
|
|
SpringEventBusEvent springEventBusEvent = new SpringEventBusEvent();
|
|
|
|
applicationContext.publishEvent(new SpringEventBusEvent(this, topic, jsonValue, tagId));
|
|
|
|
springEventBusEvent.setTopic(topic);
|
|
|
|
|
|
|
|
springEventBusEvent.setJsonValue(jsonValue);
|
|
|
|
|
|
|
|
springEventBusEvent.setTagId(tagId);
|
|
|
|
|
|
|
|
applicationContext.publishEvent(springEventBusEvent);
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|