|
@@ -33,6 +33,7 @@ import org.springframework.amqp.rabbit.annotation.RabbitListener;
|
|
|
import org.springframework.amqp.support.AmqpHeaders;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.beans.factory.annotation.Value;
|
|
|
+import org.springframework.context.annotation.Lazy;
|
|
|
import org.springframework.messaging.handler.annotation.Header;
|
|
|
import org.springframework.stereotype.Component;
|
|
|
import org.springframework.util.ObjectUtils;
|
|
@@ -58,10 +59,13 @@ import java.util.concurrent.TimeoutException;
|
|
|
@Component
|
|
|
public class RabbitMqListener {
|
|
|
|
|
|
+ @Lazy
|
|
|
@Value("${queue.modeling.modeling-call}")
|
|
|
private String queueModelingCall;
|
|
|
+ @Lazy
|
|
|
@Value("${queue.modeling.modeling-dt}")
|
|
|
private String queueModelingDt;
|
|
|
+ @Lazy
|
|
|
@Value("${queue.modeling.modeling-post}")
|
|
|
private String queueModelingPost;
|
|
|
|