为什么这次溃败抛出了例外,我怎样才能解决这个问题?制片人:
from("rmi:endpoint").
.setHeader(JmsHeaders.DELIVERY_MODE, constant("PERSISTENT"))
.to(ExchangePattern.InOut, "activemq:myQueue?requestTimeout=86400000");消费者:
from("activemq:myQueue").to("http://....")例外:
org.apache.camel.RuntimeCamelException: org.springframework.jms.InvalidDestinationException: Cannot publish to a deleted Destination: temp-queue://ID:stws2503-55943-1497338780769-6:1:1更新:
<artifactId>activemq-broker</artifactId>
<version>5.14.5</version>增加param
broker.url=tcp://localhost:61616?transport.useInactivityMonitor=false异常仍将引发。
问题发现:
临时队列中的问题,因为它在内存中,并且在重新启动服务器目的地不存在之后,我如何避免这个问题?有什么主意吗?
我试图改变setUseTempMirroredQueues(false)和broker.setCacheTempDestinations(false)
发布于 2017-06-14 14:42:08
问题解决了。我刚添加了params,replyToType=Exclusive和replyTo
https://stackoverflow.com/questions/44520933
复制相似问题