package com.zy.acs.manager.common.config;
|
|
import com.zy.acs.manager.core.domain.UnlockPathTask;
|
import org.springframework.context.annotation.Bean;
|
import org.springframework.context.annotation.ComponentScan;
|
import org.springframework.context.annotation.Configuration;
|
|
import java.util.concurrent.LinkedBlockingQueue;
|
|
/**
|
* Created by vincent on 12/19/2023
|
*/
|
@Configuration
|
@ComponentScan(value = "com.zy.acs.common.config")
|
public class BeanConfig {
|
|
@Bean
|
public LinkedBlockingQueue<UnlockPathTask> unlockTaskQueue() {
|
return new LinkedBlockingQueue<>();
|
}
|
|
}
|