Commit 5aa581f9 authored by yanzg's avatar yanzg

表结构修改

parent ba1ad0f1
...@@ -43,21 +43,14 @@ public class YzgFileProcedure implements InitializingBean { ...@@ -43,21 +43,14 @@ public class YzgFileProcedure implements InitializingBean {
private final MemoryCache<Boolean> folderCache = new MemoryCache<>(24 * 60 * 60); private final MemoryCache<Boolean> folderCache = new MemoryCache<>(24 * 60 * 60);
private final Map<String, Boolean> mapCallbackMQ = new HashMap<>(); private final Map<String, Boolean> mapCallbackMQ = new HashMap<>();
@Autowired private final MqService mqService;
private MqService mqService;
public YzgFileProcedure(MqService mqService) {
this.mqService = mqService;
}
/**
* Invoked by a BeanFactory after it has set all bean properties supplied
* (and satisfied BeanFactoryAware and ApplicationContextAware).
* <p>This method allows the bean instance to perform initialization only
* possible when all bean properties have been set and to throw an
* exception in the event of misconfiguration.
*
* @throws Exception in the event of misconfiguration (such
* as failure to set an essential property) or if initialization fails.
*/
@Override @Override
public void afterPropertiesSet() throws Exception { public void afterPropertiesSet() {
mqService.createQueue(new QueueVo(YZG_REMOVE_TEMP_FOLDER)); mqService.createQueue(new QueueVo(YZG_REMOVE_TEMP_FOLDER));
mqService.createQueue(new QueueVo(YZG_MOVE_FILE)); mqService.createQueue(new QueueVo(YZG_MOVE_FILE));
mqService.createQueue(new QueueVo(YZG_CONVERT_IMAGE)); mqService.createQueue(new QueueVo(YZG_CONVERT_IMAGE));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment