>From: "Andreas Schaefer" <[EMAIL PROTECTED]>
>To: "Hiram Chirino" <[EMAIL PROTECTED]>
>CC: <[EMAIL PROTECTED]>
>Subject: JBossMQ Questions
>Date: Sat, 27 Apr 2002 22:19:22 -0700
>
>Hi Hiram

Hi Andreas,

>
>Just started to implement JSR-77 performance
>monitoring on JBossMQ (was just in the flow
>after the recent events). I came up with some
>questions but let me explain what JSR-77 spec.
>contains:
>a JMS stats contains:
>- list of connections
>    - which contains a list of sesssions
>       - which contains a list of consumers and producers
>
>I started adding JBoss MQ code in JMSServer
>because this seems to be the central component
>of JBossMQ.
>Now I need to find out what connections exists
>and retrieve informations from them inclusive the
>list of sessions and from this the list of sender/receivers
>or list of publisher/subscribers. All this seems not
>to be a problem.
>But I don't see the connnection between JMSServer
>and SpyConnection. Is there a way to get there inclusive
>going over JNDI or JMX ?
>

I think you might be confused because the JMSServer supports stateless 
connection protocols such as RMI.  So, this means is that the JMSServer does 
not keep track of the connections that are established with him. Once a 
client establishes a connection with the server, he passes a ConnectionToken 
object allong with every request he makes to the server.  The 
ConnectionToken holds enough info for the server to identify from which 
connection the request is comming from and how to send send data 
asynchronously to that connection.

Now in the case of the stateful transport protocols, such as the OIL and 
UIL, it would be possible to keep track of the connections since we have to 
manage the thread the reads input from the sockets.  I can see us creating 
registing a new MBean for each connection that is accecpted.

I hope that made sense.

Regards,
HIram

>Thanx
>
>xxxxxxxxxxxxxxxxx
>Andreas Schaefer
>Senior Consultant
>JBoss Group, LLC
>xxxxxxxxxxxxxxxxx
>
>




_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.


_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to