You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ch...@apache.org on 2010/11/12 14:06:13 UTC

svn commit: r1034387 - /activemq/activemq-apollo/trunk/apollo-dto/src/main/java/org/apache/activemq/apollo/dto/DestinationStatusDTO.java

Author: chirino
Date: Fri Nov 12 13:06:13 2010
New Revision: 1034387

URL: http://svn.apache.org/viewvc?rev=1034387&view=rev
Log:
jason fields should be plural.

Modified:
    activemq/activemq-apollo/trunk/apollo-dto/src/main/java/org/apache/activemq/apollo/dto/DestinationStatusDTO.java

Modified: activemq/activemq-apollo/trunk/apollo-dto/src/main/java/org/apache/activemq/apollo/dto/DestinationStatusDTO.java
URL: http://svn.apache.org/viewvc/activemq/activemq-apollo/trunk/apollo-dto/src/main/java/org/apache/activemq/apollo/dto/DestinationStatusDTO.java?rev=1034387&r1=1034386&r2=1034387&view=diff
==============================================================================
--- activemq/activemq-apollo/trunk/apollo-dto/src/main/java/org/apache/activemq/apollo/dto/DestinationStatusDTO.java (original)
+++ activemq/activemq-apollo/trunk/apollo-dto/src/main/java/org/apache/activemq/apollo/dto/DestinationStatusDTO.java Fri Nov 12 13:06:13 2010
@@ -42,17 +42,20 @@ public class DestinationStatusDTO extend
      * Ids of all connections that are producing to the destination
      */
     @XmlElement(name="producer")
+    @JsonProperty("producers")
     public List<LongIdLabeledDTO> producers = new ArrayList<LongIdLabeledDTO>();
 
     /**
      * Ids of all connections that are consuming from the destination
      */
     @XmlElement(name="consumer")
+    @JsonProperty("consumers")
     public List<LongIdLabeledDTO> consumers = new ArrayList<LongIdLabeledDTO>();
 
     /**
      * Ids of all queues that are associated with the destination
      */
     @XmlElement(name="queue")
+    @JsonProperty("queues")
     public List<LongIdLabeledDTO> queues = new ArrayList<LongIdLabeledDTO>();
 }
\ No newline at end of file