org.apache.activemq.apollo.dto
Class TopicDTO

java.lang.Object
  extended by org.apache.activemq.apollo.dto.TopicDTO

public class TopicDTO
extends java.lang.Object

Author:
Hiram Chirino

Field Summary
 java.lang.Integer auto_delete_after
          Controls when the topic will auto delete.
 java.lang.String id
          A unique id of the topic.
 java.util.List<java.lang.Object> other
          To hold any other non-matching XML elements
 java.lang.String slow_consumer_policy
           
 QueueSettingsDTO subscription
          The subscription settings that will be used for queues which are created for each subscription when the `slow_consumer_policy` is set to `queue`.
 
Constructor Summary
TopicDTO()
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

public java.lang.String id
A unique id of the topic.


auto_delete_after

public java.lang.Integer auto_delete_after
Controls when the topic will auto delete. If set to zero, then the topic will NOT auto delete, otherwise the topic will auto delete after it has been unused for the number of seconds configured in this field. If unset, it defaults to 5 minutes


slow_consumer_policy

public java.lang.String slow_consumer_policy

subscription

public QueueSettingsDTO subscription
The subscription settings that will be used for queues which are created for each subscription when the `slow_consumer_policy` is set to `queue`.


other

public java.util.List<java.lang.Object> other
To hold any other non-matching XML elements

Constructor Detail

TopicDTO

public TopicDTO()
Method Detail

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object


Copyright © 2005-2012 The Apache Software Foundation. All Rights Reserved.