Results 1 to 4 of 4
  1. #1

    Cool how & where to see all the subscribed clients?

    the health page is useful only to see certain information. but is there anywhere to see all the subscribed client IDs and methods? I want to validate that certain clients are subscribed, but don't know how to do it! thanks!

  2. #2
    Administrator
    Join Date
    Jul 2006
    Location
    Milan
    Posts
    973
    Information on the current activity of the Server is available through the JMX interface.
    This is only available in the "Vivace" version of Lightstreamer; if you are using the "Moderato" version, you have to download the "Allegro/Presto/Vivace" package and run it with the preinstalled "DEMO" license.
    Then, you can configure the JMX accessibility by acting on the <jmx> block of the Server configuration file.

    I'm not sure I understand exactly what pieces of information you are looking for, but you can evaluate the user/session/item related properties in the ResourceMBean and SessionMBean (here a javadoc-style documentation).

  3. #3
    Thanks for replying the message.

    basically I want to see the client info, like subscribe time, subscribe ID, subscribe method.

    the JMX interface gives me general info about the Java program but not detailed lightstreamer server info.

  4. #4
    Power Member
    Join Date
    Jul 2006
    Location
    Cesano Maderno, Italy
    Posts
    784
    Hi,

    our JMX interface does not offer such info but you can gather and track it using you custom metadata adapter. See MetadataProvider
    As an example you can track subscribe time, subscribe ID and subscribe method using notifyNewTables and notifyTablesClose

    HTH

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT +1. The time now is 10:46 PM.