wang created ARTEMIS-3382:
-----------------------------
Summary: Cannot publish to a deleted Destination: temp-queue:
Key: ARTEMIS-3382
URL: https://issues.apache.org/jira/browse/ARTEMIS-3382
Project: ActiveMQ Artemis
Issue Type: Bug
Components: JMS
Affects Versions: 2.17.0
Environment: OS:Alibaba Cloud Linux release 3 (Soaring Falcon)(Linux
kernel 5.10 LTS)
JDK version:1.8.0_251
Reporter: wang
JDK version:1.8.0_251
spring-jms-5.2.7
artemis2.17.0, default configuration
has A、B two JAVA program in one machine,
A send a synchronization mesage,B reply,
run a few days later,
B throw exception on reply.
A:
jmsMsgTemplate.getJmsTemplate().setReceiveTimeout(20*1000);
String message=
jmsMsgTemplate.convertSendAndReceive(queueName,messageStr,String.class);
B: reply,not timeout, bug throw this exception:
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
this is a bug? or default configuration is not support synchronization mesage?
What should I do?
--
This message was sent by Atlassian Jira
(v8.3.4#803005)