0
このルートがexceprionをスローする理由とその問題を解決する方法は? プロデューサー:公開する前にActiveMQの削除先
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
メモリに、私はこの問題を回避することができますどのように、存在しないサーバの宛先を再起動した後、それbecouse、 一時キューに問題:
broker.url=tcp://localhost:61616?transport.useInactivityMonitor=false
例外はまだ見つかっ
問題がスローされます?何か案は ??
私は解決setUseTempMirroredQueues(false)
とbroker.setCacheTempDestinations(false)