activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Hodgson (JIRA)" <>
Subject [jira] [Commented] (AMQ-5437) cacheTempDestinations is not caching temp destinations
Date Tue, 03 Jan 2017 20:07:58 GMT


Gary Hodgson commented on AMQ-5437:

This appears still (also?) not to work in 5.12.0. Unless my expectations are wrong.  

When I kill a consumer process the producer process still throws "javax.jms.InvalidDestinationException:
Cannot publish to a deleted Destination: temp-queue://ID:garyhodgson-PC-50108-1483473568352-1:1:1"

In the activemq config I have set the following attributes on the broker tag: cacheTempDestinations="true"

> cacheTempDestinations is not caching temp destinations
> ------------------------------------------------------
>                 Key: AMQ-5437
>                 URL:
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.10.0
>            Reporter: Jakub Korab
> When using BrokerService.cacheTempDestinations=true, according to a post on SO by gtully
the broker should keep the destinations around for the time defined by BrokerService.timeBeforePurgeTempDestinations
before removing them. This is not happening; there are no tests around this area.
> When I kill a temporary queue consumer process with a kill -9, I can see the temporary
destination being removed immediately on the broker and an advisory message to that effect
being sent.

This message was sent by Atlassian JIRA

View raw message