添加异常
This commit is contained in:
@@ -19,6 +19,8 @@ public class RabbitProducer implements RabbitTemplate.ConfirmCallback {
|
||||
private RabbitTemplate rabbitTemplate;
|
||||
@Value("${prod}")
|
||||
private String prod;
|
||||
|
||||
|
||||
@Autowired
|
||||
public RabbitProducer(RabbitTemplate rabbitTemplate) {
|
||||
this.rabbitTemplate = rabbitTemplate;
|
||||
|
||||
Reference in New Issue
Block a user