[jboss-cvs] JBossAS SVN: r103041 - trunk/hornetq-int/src/resources/META-INF.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Fri Mar 26 09:15:52 EDT 2010
Author: jmesnil
Date: 2010-03-26 09:15:51 -0400 (Fri, 26 Mar 2010)
New Revision: 103041
Modified:
trunk/hornetq-int/src/resources/META-INF/rhq-plugin.xml
Log:
HornetQ integration
* added description to JMS ConnnectionFactory configuration properties
* added MessageCount measurement metric for JMS Topic
Modified: trunk/hornetq-int/src/resources/META-INF/rhq-plugin.xml
===================================================================
--- trunk/hornetq-int/src/resources/META-INF/rhq-plugin.xml 2010-03-26 12:34:53 UTC (rev 103040)
+++ trunk/hornetq-int/src/resources/META-INF/rhq-plugin.xml 2010-03-26 13:15:51 UTC (rev 103041)
@@ -5,19 +5,19 @@
<!ENTITY destinationMetrics '
<metric property="getName"
displayName="Name"
- description="name of this queue"
+ description="name of this destination"
dataType="trait" displayType="summary"/>
<metric property="getJNDIBinding"
displayName="JNDI Binding"
- description="JNDI Binding of this queue"
+ description="JNDI Binding of this destination"
dataType="trait" displayType="summary"/>
<metric property="getAddress"
displayName="Address"
- description="Address of this queue"
+ description="Address of this destination"
dataType="trait" displayType="summary"/>
<metric property="isTemporary"
displayName="Temporary"
- description="If this queue is Temporary"
+ description="If this destination is temporary"
dataType="trait" displayType="summary"/>
'>
]>
@@ -412,6 +412,10 @@
displayName="Non Durable Subscription Count"
description="number of non-durable subscribers for this topic"
dataType="measurement" displayType="summary"/>
+ <metric property="getMessageCount"
+ displayName="Message Count"
+ description="number of messages for all subscribers for this topic"
+ dataType="measurement" displayType="summary"/>
<metric property="getDurableMessageCount"
displayName="Durable Message Count"
description="number of messages for all durable subscribers for this topic"
@@ -531,59 +535,210 @@
createDeletePolicy="both">
<metric property="getName"
displayName="Name"
- description="name of this queue"
+ description="name of this connection factory"
dataType="trait" displayType="summary"/>
<metric property="getBindings"
- displayName="JNDI Binding"
- description="JNDI Binding of this queue"
+ displayName="JNDI Bindings"
+ description="JNDI Bindings of this connection factory"
dataType="trait" displayType="summary"/>
<resource-configuration>
- <c:group name="HornetQCustomProperties" displayName="Destination Options">
- <c:simple-property name="name" displayName="The Queues Name" required="true" readOnly="true">
- <c:description>The Name of the queue to deploy</c:description>
+ <c:group name="HornetQCustomProperties" displayName="Connection Factory Options">
+ <c:simple-property name="name" displayName="Connection Factory Name" required="true" readOnly="true">
+ <c:description>Name of the connection factory to deploy</c:description>
</c:simple-property>
- <c:simple-property name="Bindings" displayName="The Queues JNDI Name" required="true" readOnly="true">
- <c:description>The JNDI Name of the queue to deploy</c:description>
+ <c:simple-property name="Bindings" displayName="Connection Factory JNDI Bindings" required="true" readOnly="true">
+ <c:description>JNDI Bindings of the connection factory to deploy</c:description>
</c:simple-property>
- <c:simple-property name="liveTransportClassNames" default="org.hornetq.integration.transports.netty.NettyConnectorFactory" readOnly="true"
- required="false" displayName="comma-separated list of class names for transport to live servers"/>
- <c:simple-property name="liveTransportParams" default="{host=localhost,port=5005}" readOnly="true"
- required="false" displayName="comma-separated list of key=value parameters for the live transports ( enclosed between { })"/>
- <c:simple-property name="backupTransportClassNames" required="false" readOnly="true" displayName="comma-separated list of class names for transport to backup servers"/>
- <c:simple-property name="backupTransportParams" required="false" readOnly="true" displayName="comma-separated list of key=value parameters for the backup transports (enclosed between { })"/>
- <c:simple-property name="DiscoveryAddress" required="false" readOnly="true" displayName="Discovery Address"/>
- <c:simple-property name="DiscoveryPort" default="0" readOnly="true" type="integer" displayName="Discovery Port"/>
- <c:simple-property name="DiscoveryRefreshTimeout" default="10000" type="long" displayName="Discovery Refresh Timeout"/>
- <c:simple-property name="DiscoveryInitialWaitTimeout" default="2000" type="long" displayName="Discovery Initial Wait Timeout"/>
- <c:simple-property name="ClientID" required="false" displayName="Client ID"/>
- <c:simple-property name="DupsOKBatchSize" default="1048576" type="integer" displayName="Dups OK Batch Size"/>
- <c:simple-property name="TransactionBatchSize" default="1048576" type="integer" displayName="Transaction Batch Size"/>
- <c:simple-property name="ClientFailureCheckPeriod" default="30000" type="long" displayName="Client Failure Check Period"/>
- <c:simple-property name="ConnectionTTL" default="60000" type="long" displayName="Connection TTL"/>
- <c:simple-property name="CallTimeout" default="30000" type="long" displayName="Call Timeout"/>
- <c:simple-property name="ConsumerWindowSize" default="-1" type="integer" displayName="Consumer Window Size"/>
- <c:simple-property name="ConsumerMaxRate" default="-1" type="integer" displayName="Consumer Max Rate"/>
- <c:simple-property name="ConfirmationWindowSize" default="-1" type="integer" displayName="Confirmation Window Size"/>
- <c:simple-property name="ProducerMaxRate" default="-1" type="integer" displayName="Producer Max Rate"/>
- <c:simple-property name="ProducerWindowSize" default="-1" type="integer" displayName="Producer Window Size"/>
- <c:simple-property name="CacheLargeMessagesClient" default="false" type="boolean" displayName="Cache Large Messages Client"/>
- <c:simple-property name="MinLargeMessageSize" default="1048576" type="integer" displayName="Min Large Message Size"/>
- <c:simple-property name="BlockOnNonDurableSend" default="false" type="boolean" displayName="Block On Non Durable Send"/>
- <c:simple-property name="BlockOnAcknowledge" default="false" type="boolean" displayName="Block On Acknowledge"/>
- <c:simple-property name="BlockOnDurableSend" default="true" type="boolean" displayName="Block On Durable Send"/>
- <c:simple-property name="AutoGroup" default="false" type="boolean" displayName="Auto Group"/>
- <c:simple-property name="PreAcknowledge" default="false" type="boolean" displayName="Pre Acknowledge"/>
- <c:simple-property name="MaxRetryInterval" default="2000" type="long" displayName="Max Retry Interval"/>
- <c:simple-property name="RetryIntervalMultiplier" default="1.0" type="double" displayName="Retry Interval Multiplier"/>
- <c:simple-property name="ReconnectAttempts" default="0" type="integer" displayName="Reconnect Attempts"/>
- <c:simple-property name="FailoverOnServerShutdown" default="false" type="boolean" displayName="Failover On Server Shutdown"/>
- <c:simple-property name="ScheduledThreadPoolMaxSize" default="5" type="integer" displayName="Scheduled Thread Pool Max Size"/>
- <c:simple-property name="ThreadPoolMaxSize" default="-1" type="integer" displayName="Thread Pool Max Size"/>
- <c:simple-property name="GroupID" default="false" type="boolean" required="false" displayName="Group ID"/>
- <c:simple-property name="InitialMessagePacketSize" default="1500" type="integer" displayName="Initial Message Packet Size"/>
- <c:simple-property name="UseGlobalPools" default="true" type="boolean" displayName="Use Global Pools"/>
- <c:simple-property name="RetryInterval" default="2000" type="long" displayName="Retry Interval"/>
- <c:simple-property name="ConnectionLoadBalancingPolicyClassName" default="org.hornetq.api.core.client.loadbalance.RoundRobinConnectionLoadBalancingPolicy" displayName="Connection Load Balancing Policy Class Name"/>
+ <c:simple-property name="liveTransportClassNames"
+ default="org.hornetq.integration.transports.netty.NettyConnectorFactory"
+ readOnly="true" required="false"
+ displayName="Connectors to live servers">
+ <c:description>comma-separated list of class names to connect to live servers</c:description>
+ </c:simple-property>
+ <c:simple-property name="liveTransportParams"
+ default="{host=localhost,port=5445}"
+ readOnly="true" required="false"
+ displayName="Parameters for connectors to live servers">
+ <c:description>comma-separated list of key=value parameters for the live connectors ( enclosed between { })</c:description>
+ </c:simple-property>
+ <c:simple-property name="backupTransportClassNames"
+ required="false" readOnly="true"
+ displayName="Connectors to backup servers">
+ <c:description>comma-separated list of class names to connect to backup servers</c:description>
+ </c:simple-property>
+ <c:simple-property name="backupTransportParams"
+ required="false" readOnly="true"
+ displayName="Parameters for connectors to backup servers">
+ <c:description>comma-separated list of key=value parameters for the backup connectors ( enclosed between { })</c:description>
+ </c:simple-property>
+ <c:simple-property name="DiscoveryAddress"
+ required="false"
+ readOnly="true"
+ displayName="Discovery Address">
+ <c:description>the address to listen to discover which connectors this connection factory can use</c:description>
+ </c:simple-property>
+ <c:simple-property name="DiscoveryPort"
+ readOnly="true"
+ default="0" type="integer"
+ displayName="Discovery Port">
+ <c:description>port to listen to discover which connectors this connection factory can use</c:description>
+ </c:simple-property>
+ <c:simple-property name="DiscoveryRefreshTimeout"
+ default="10000" type="long"
+ displayName="Discovery Refresh Timeout">
+ <c:description>refresh timeout for discovered HornetQ servers</c:description>
+ </c:simple-property>
+ <c:simple-property name="DiscoveryInitialWaitTimeout"
+ default="2000" type="long"
+ displayName="Discovery Initial Wait Timeout">
+ <c:description>initial wait timeout if this connection factory is configured to use discovery </c:description>
+ </c:simple-property>
+ <c:simple-property name="ClientID"
+ required="false"
+ displayName="Client ID">
+ <c:description>Client ID for connections created by this connection factory</c:description>
+ </c:simple-property>
+ <c:simple-property name="DupsOKBatchSize"
+ default="1048576" type="integer"
+ displayName="Dups OK Batch Size">
+ <c:description>batch size (in bytes) between acknowledgements when using DUPS_OK_ACKNOWLEDGE mode</c:description>
+ </c:simple-property>
+ <c:simple-property name="TransactionBatchSize"
+ default="1048576" type="integer"
+ displayName="Transaction Batch Size">
+ <c:description>batch size (in bytes) between acknowledgements when using a transacted session</c:description>
+ </c:simple-property>
+ <c:simple-property name="ClientFailureCheckPeriod"
+ default="30000" type="long"
+ displayName="Client Failure Check Period">
+ <c:description>period used to check if a client has failed to receive pings from the serve</c:description>
+ </c:simple-property>
+ <c:simple-property name="ConnectionTTL"
+ default="60000" type="long"
+ displayName="Connection TTL">
+ <c:description>connection time-to-live (in milliseconds)</c:description>
+ </c:simple-property>
+ <c:simple-property name="CallTimeout"
+ default="30000" type="long"
+ displayName="Call Timeout">
+ <c:description>blocking calls timeout (in milliseconds)</c:description>
+ </c:simple-property>
+ <c:simple-property name="ConsumerWindowSize"
+ default="1048576" type="integer"
+ displayName="Consumer Window Size">
+ <c:description>window size (in bytes) used for consumer flow control</c:description>
+ </c:simple-property>
+ <c:simple-property name="ConsumerMaxRate"
+ default="-1" type="integer"
+ displayName="Consumer Max Rate">
+ <c:description>maximum rate of message consumption (in messages per seconds)</c:description>
+ </c:simple-property>
+ <c:simple-property name="ConfirmationWindowSize"
+ default="-1" type="integer"
+ displayName="Confirmation Window Size">
+ <c:description>size (in bytes) for the confirmation window of clients using this connection factory</c:description>
+ </c:simple-property>
+ <c:simple-property name="ProducerMaxRate"
+ default="-1" type="integer"
+ displayName="Producer Max Rate">
+ <c:description>maximum rate of message production (in messages per seconds)</c:description>
+ </c:simple-property>
+ <c:simple-property name="ProducerWindowSize"
+ default="65536" type="integer"
+ displayName="Producer Window Size">
+ <c:description>window size (in bytes) used for producer flow control</c:description>
+ </c:simple-property>
+ <c:simple-property name="CacheLargeMessagesClient"
+ default="false" type="boolean"
+ displayName="Cache Large Messages Client">
+ <c:description>Whether consumers created through this factory will cache large messages in temporary files</c:description>
+ </c:simple-property>
+ <c:simple-property name="MinLargeMessageSize"
+ default="102400" type="integer"
+ displayName="Minimum Large Message Size">
+ <c:description>message size threshold (in bytes) to treat messages as large messages</c:description>
+ </c:simple-property>
+ <c:simple-property name="BlockOnNonDurableSend"
+ default="false" type="boolean"
+ displayName="Block On Non Durable Send">
+ <c:description>whether producers will block while sending non-durable messages or do it asynchronously</c:description>
+ </c:simple-property>
+ <c:simple-property name="BlockOnAcknowledge"
+ default="false" type="boolean"
+ displayName="Block On Acknowledge">
+ <c:description>whether consumers will block while sending message acknowledgements or do it asynchronously</c:description>
+ </c:simple-property>
+ <c:simple-property name="BlockOnDurableSend"
+ default="true" type="boolean"
+ displayName="Block On Durable Send">
+ <c:description>whether producers will block while sending persistent messages or do it asynchronously</c:description>
+ </c:simple-property>
+ <c:simple-property name="AutoGroup"
+ default="false" type="boolean"
+ displayName="Auto Group">
+ <c:description> whether producers will automatically assign a group ID to their messages</c:description>
+ </c:simple-property>
+ <c:simple-property name="PreAcknowledge"
+ default="false" type="boolean"
+ displayName="Pre Acknowledge">
+ <c:description>whether messages will pre-acknowledged on the server before they are sent to the consumers or not</c:description>
+ </c:simple-property>
+ <c:simple-property name="RetryInterval"
+ default="2000" type="long"
+ displayName="Retry Interval">
+ <c:description>interval (in milliseconds) to retry connections created by this factory after failure</c:description>
+ </c:simple-property>
+ <c:simple-property name="MaxRetryInterval"
+ default="2000" type="long"
+ displayName="Maximum Retry Interval">
+ <c:description>maximum retry interval (in milliseconds)</c:description>
+ </c:simple-property>
+ <c:simple-property name="RetryIntervalMultiplier"
+ default="1.0" type="double"
+ displayName="Retry Interval Multiplier">
+ <c:description>multiplier to apply to successive retry intervals</c:description>
+ </c:simple-property>
+ <c:simple-property name="ReconnectAttempts"
+ default="0" type="integer"
+ displayName="Reconnect Attempts">
+ <c:description>maximum number of attempts to retry connection in case of failure</c:description>
+ </c:simple-property>
+ <c:simple-property name="FailoverOnServerShutdown"
+ default="false" type="boolean"
+ displayName="Failover On Server Shutdown">
+ <c:description>whether connections created by this factory must failover in case the server they are connected to has normally shut down</c:description>
+ </c:simple-property>
+ <c:simple-property name="ScheduledThreadPoolMaxSize"
+ default="5" type="integer"
+ displayName="Scheduled Thread Pool Max Size">
+ <c:description>maximum size of the scheduled thread pool</c:description>
+ </c:simple-property>
+ <c:simple-property name="ThreadPoolMaxSize"
+ default="-1" type="integer"
+ displayName="Thread Pool Max Size">
+ <c:description>maximum size of the thread pool</c:description>
+ </c:simple-property>
+ <c:simple-property name="GroupID"
+ default="false" type="boolean"
+ required="false"
+ displayName="Group ID">
+ <c:description>group ID that will be eventually set on each message</c:description>
+ </c:simple-property>
+ <c:simple-property name="InitialMessagePacketSize"
+ default="1500" type="integer"
+ displayName="Initial Message Packet Size">
+ <c:description>initial size (in bytes) of messages created through this factory</c:description>
+ </c:simple-property>
+ <c:simple-property name="UseGlobalPools"
+ default="true" type="boolean"
+ displayName="Use Global Pools">
+ <c:description>whether this factory will use global thread pools (shared among all the factories in the same JVM) or its own pools</c:description>
+ </c:simple-property>
+ <c:simple-property name="ConnectionLoadBalancingPolicyClassName"
+ default="org.hornetq.api.core.client.loadbalance.RoundRobinConnectionLoadBalancingPolicy"
+ displayName="Connection Load Balancing Policy Class Name">
+ <c:description>class name of the connection load balancing policy</c:description>
+ </c:simple-property>
</c:group>
</resource-configuration>
</service>
More information about the jboss-cvs-commits
mailing list