This commit is contained in:
dute7liang
2023-12-29 02:04:57 +08:00
parent 8a53930160
commit 83d87d0927

View File

@@ -9,7 +9,7 @@ public class AmqpProducer {
@Autowired @Autowired
private RabbitTemplate rabbitTemplate; private RabbitTemplate rabbitTemplate;
public void sendCalculateSales(String message,Integer timeout){ public void sendCalculateSales(String message){
rabbitTemplate.convertAndSend(AmqpConsumer.CALCULATE_SALES_EXCHANGE, AmqpConsumer.CALCULATE_SALES_KEY, message); rabbitTemplate.convertAndSend(AmqpConsumer.CALCULATE_SALES_EXCHANGE, AmqpConsumer.CALCULATE_SALES_KEY, message);
} }