[Design of POJO Server] - Re: Metrics - runtime statistics
by adrian@jboss.org
"bytor99999" wrote : When we were discussing the runtime statistics, I believe it was brought up that they would be returned as ManagedProperties.
They'll be liked ManagedProperties, but you don't need all the support for changing
them :-)
e.g. psuedo code:
| public interface ManagedObject
| {
| // ...
|
| Map<ServerName, List<MetaValue>> getStatistics();
| }
|
What is required is a way to refresh (re-retreive them from the server -
perhaps individually) and also being able to understand that the statistics are
available multiple times from the different servers in the cluster where the object is deployed.
Where they do look more like ManagedProperties is the ability to annotate
parts of them to explain how they should be used, e.g.
whether the statistic (or a component of the statistic)
is monotonic (always increasing) or random
or whether the it is an average, etc.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4046232#4046232
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4046232
18 years, 10 months
[Design of Messaging on JBoss (Messaging/JBoss)] - Re: Installing JBoss Messaging clustered
by clebert.suconic@jboss.com
"timfox" wrote :
| in docs/examples/binding-manager/sample-bindings.xml, make sure the jboss messaging config looks like:
|
|
| | <service-config name="jboss.messaging:service=Connector,transport=bisocket"
| | delegateClass="org.jboss.services.binding.AttributeMappingDelegate">
| | <delegate-config>
| | <attribute name="Configuration"><![CDATA[
| | <config>
| | <invoker transport="bisocket">
| | <attribute name="marshaller" isParam="true">org.jboss.jms.server.remoting.JMSWireFormat</attribute>
| | <attribute name="unmarshaller" isParam="true">org.jboss.jms.server.remoting.JMSWireFormat</attribute>
| | <attribute name="serializationtype" isParam="true">jms</attribute>
| | <attribute name="dataType" isParam="true">jms</attribute>
| | <attribute name="socket.check_connection" isParam="true">false</attribute>
| | <attribute name="timeout" isParam="true">0</attribute>
| | <attribute name="serverBindAddress">${jboss.bind.address}</attribute>
| | <attribute name="serverBindPort">4457</attribute>
| | <attribute name="leasePeriod">10000</attribute>
| | <attribute name="callbackStore">org.jboss.remoting.callback.CallbackStore</attribute>
| | <attribute name="clientSocketClass" isParam="true">org.jboss.jms.client.remoting.ClientSocketWrapper</attribute>
| | <attribute name="serverSocketClass">org.jboss.jms.server.remoting.ServerSocketWrapper</attribute>
| | <attribute name="callbackErrorsAllowed">1</attribute>
| | <attribute name="numberOfRetries" isParam="true">1</attribute>
| | <attribute name="NumberOfCallRetries" isParam="true">2</attribute>
| | <attribute name="clientMaxPoolSize" isParam="true">50</attribute>
| | </invoker>
| | <handlers>
| | <handler subsystem="JMS">org.jboss.jms.server.remoting.JMSServerInvocationHandler</handler>
| | </handlers>
| | </config>
| | ]]></attribute>
| | </delegate-config>
| | <binding port="4457"/>
| | </service-config>
| |
| | </server>
| |
Unless someone tell me I can't do that, I will be changing this file:
http://anonsvn.jboss.org/repos/jbossas/trunk/varia/src/resources/services...
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4046174#4046174
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4046174
18 years, 10 months