[jira] [Commented] (AMQ-5398) How do I configure a automatic expiration for DLQ

2014-10-16 Thread Gopal Chakravarthy (JIRA)

[ 
https://issues.apache.org/jira/browse/AMQ-5398?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14174558#comment-14174558
 ] 

Gopal Chakravarthy commented on AMQ-5398:
-

What is the impact of making the following change

 http://activemq.apache.org/schema/core"; brokerName="localhost" 
dataDirectory="${activemq.base}/data" destroyApplicationContextOnStop="true">
 
   

  

What I really want is to put  a policy whereby messages in DLQ older than 5 
days are automatically deleted. 

> How do I configure  a automatic expiration for DLQ
> --
>
> Key: AMQ-5398
> URL: https://issues.apache.org/jira/browse/AMQ-5398
> Project: ActiveMQ
>  Issue Type: Task
>  Components: activemq-pool
>Affects Versions: 5.3.2
> Environment: RHEL 5.3
>Reporter: Gopal Chakravarthy
>
> For the dead letter queue ActiveMQ.DLQ,  I would like to configure a policy 
> whereby messages in DLQ get deleted after they have resided in DLQ for 5 days.
> I couldnt see how to do it in the documentation.
> My current activemq.xml configuration file is below...how do I modify it for 
> autoexpiring my DLQ messages after 5 days...
> 
>xmlns="http://www.springframework.org/schema/beans";
>   xmlns:amq="http://activemq.apache.org/schema/core";
>   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>   xsi:schemaLocation="http://www.springframework.org/schema/beans 
> http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
>   http://activemq.apache.org/schema/core 
> http://activemq.apache.org/schema/core/activemq-core.xsd";>
> 
>  class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
> 
> file:${activemq.base}/conf/credentials.properties
> 
> 
> 
> http://activemq.apache.org/schema/core"; 
> brokerName="localhost" dataDirectory="${activemq.base}/data" 
> destroyApplicationContextOnStop="true">
> 
> 
> 
>   
>  memoryLimit="1mb" useCache="false">
>   
> 
>   
> 
>  memoryLimit="1mb" useCache="false">
>   
>   
>   
>   
> 
>   
> 
> 
> 
> 
> 
> 
> 
> 
>  ignoreMissingJournalfiles="true"
> checkForCorruptJournalFiles="true"
> checksumJournalFiles="true"
> journalMaxFileLength="64mb" />
> 
>   
> 
> 
> 
> 
> 
> 
> 
> 
> 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (AMQ-5398) How do I configure a automatic expiration for DLQ

2014-10-16 Thread Gopal Chakravarthy (JIRA)
Gopal Chakravarthy created AMQ-5398:
---

 Summary: How do I configure  a automatic expiration for DLQ
 Key: AMQ-5398
 URL: https://issues.apache.org/jira/browse/AMQ-5398
 Project: ActiveMQ
  Issue Type: Task
  Components: activemq-pool
Affects Versions: 5.3.2
 Environment: RHEL 5.3
Reporter: Gopal Chakravarthy


For the dead letter queue ActiveMQ.DLQ,  I would like to configure a policy 
whereby messages in DLQ get deleted after they have resided in DLQ for 5 days.
I couldnt see how to do it in the documentation.
My current activemq.xml configuration file is below...how do I modify it for 
autoexpiring my DLQ messages after 5 days...


http://www.springframework.org/schema/beans";
  xmlns:amq="http://activemq.apache.org/schema/core";
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  xsi:schemaLocation="http://www.springframework.org/schema/beans 
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
  http://activemq.apache.org/schema/core 
http://activemq.apache.org/schema/core/activemq-core.xsd";>




file:${activemq.base}/conf/credentials.properties




http://activemq.apache.org/schema/core"; 
brokerName="localhost" dataDirectory="${activemq.base}/data" 
destroyApplicationContextOnStop="true">





  

  

  


  
  
  
  

  
















  


















--
This message was sent by Atlassian JIRA
(v6.3.4#6332)