模块A、模版B 是部署在同一机器的两个java程序,运行一段时间后发生如下问题,重启程序后恢复。 请问大神是什么问题导致?
队列中间件:Artemis 默认配置
模块A发送消息:
jmsMsgTemplate.getJmsTemplate().setReceiveTimeout(20*1000);
String message= jmsMsgTemplate.convertSendAndReceive(queueName,messageStr,String.class);
模块B回复消息时,在超时时间内却无法回复消息:
Cannot publish to a deleted Destination: temp-queue://ID:iZwz96vtq89cjmxpw5w9boZ-40113-1624574577491-1:1:588; nested exception is javax.jms.InvalidDestinationException: Cannot publish to a deleted Destination: temp-queue://ID:iZwz96vtq89cjmxpw5w9boZ-40113-1624574577491-1:1:588; nested exception is org.springframework.jms.InvalidDestinationException: Cannot publish to a deleted Destination: temp-queue://ID:iZwz96vtq89cjmxpw5w9boZ-40113-1624574577491-1:1:588; nested exception is javax.jms.InvalidDestinationException: Cannot publish to a deleted Destination: temp-queue://ID:iZwz96vtq89cjmxpw5w9boZ-40113-1624574577491-1:1:588