Class PurgeJmsQueuesModel

java.lang.Object
org.citrusframework.model.testcase.core.PurgeJmsQueuesModel

public class PurgeJmsQueuesModel extends Object
Continuously receives messages from a destination until no more messages are left - emulating the purge operation

Java-Klasse für PurgeJmsQueuesActionType complex type.

Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.


 <complexType name="PurgeJmsQueuesActionType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element ref="{http://www.citrusframework.org/schema/testcase}description" minOccurs="0"/>
         <element name="queue" maxOccurs="unbounded">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
                 <attribute name="ref" type="{http://www.w3.org/2001/XMLSchema}string" />
               </restriction>
             </complexContent>
           </complexType>
         </element>
       </sequence>
       <attribute name="connection-factory" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="timeout" type="{http://www.w3.org/2001/XMLSchema}int" />
       <attribute name="sleep" type="{http://www.w3.org/2001/XMLSchema}int" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • PurgeJmsQueuesModel

      public PurgeJmsQueuesModel()
  • Method Details

    • getDescription

      public String getDescription()
      Ruft den Wert der description-Eigenschaft ab.
      Returns:
      possible object is String
    • setDescription

      public void setDescription(String value)
      Legt den Wert der description-Eigenschaft fest.
      Parameters:
      value - allowed object is String
    • getQueues

      public List<PurgeJmsQueuesModel.Queue> getQueues()
      Gets the value of the queues property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a set method for the queues property.

      For example, to add a new item, do as follows:

          getQueues().add(newItem);
       

      Objects of the following type(s) are allowed in the list PurgeJmsQueuesModel.Queue

      Returns:
      The value of the queues property.
    • getConnectionFactory

      public String getConnectionFactory()
      Ruft den Wert der connectionFactory-Eigenschaft ab.
      Returns:
      possible object is String
    • setConnectionFactory

      public void setConnectionFactory(String value)
      Legt den Wert der connectionFactory-Eigenschaft fest.
      Parameters:
      value - allowed object is String
    • getTimeout

      public Integer getTimeout()
      Ruft den Wert der timeout-Eigenschaft ab.
      Returns:
      possible object is Integer
    • setTimeout

      public void setTimeout(Integer value)
      Legt den Wert der timeout-Eigenschaft fest.
      Parameters:
      value - allowed object is Integer
    • getSleep

      public Integer getSleep()
      Ruft den Wert der sleep-Eigenschaft ab.
      Returns:
      possible object is Integer
    • setSleep

      public void setSleep(Integer value)
      Legt den Wert der sleep-Eigenschaft fest.
      Parameters:
      value - allowed object is Integer