Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Oct 2007
    Location
    Hochiminh
    Posts
    9

    question about adapters.xml

    I developed a project which contains all data adapters and 1 meta data Adapter, I also exported this project to a JAR file. The question is : "Could I have multiple <data_provider> tags in one adapters.xml file ?" It looks like this:

    <?xml version="1.0"?>
    <adapters_conf id="MYADAPTER_ID">
    <metadata_provider>
    <adapter_class>com.xyz.myMetaAdapter</adapter_class>
    .......
    </metadata_provider>

    <data_provider>
    <adapter_class>com.xyz.myDataAdapter1</adapter_class>
    <param name="xy1">xy</param>
    </data_provider>

    <data_provider>
    <adapter_class>com.xyz.myDataAdapter2</adapter_class>
    <param name="xy2">xy2</param>
    </data_provider>

    <data_provider>
    <adapter_class>com.xyz.myDataAdapter3</adapter_class>
    <param name="xy3">xy3</param>
    </data_provider>
    .
    .
    .
    .
    </adapters_conf>

    Thank you very much

  2. #2
    Administrator
    Join Date
    Jul 2006
    Location
    Milan
    Posts
    958
    Hi

    Using multiple Data Adapters for a single connection will be possible with the next major release of Lightstreamer, whose release date has not been decided yet.
    The configuration will be very similar to the one suggest, with still a single Metadata Adapter related to the connection and multiple Data Adapters from which the items can be requested.

    Dario

  3. #3
    Member
    Join Date
    Oct 2007
    Location
    Hochiminh
    Posts
    9
    Thank you, then I will wait until then

 

 

Similar Threads

  1. adapters.xml
    By Pradeep Chahal in forum Adapter APIs
    Replies: 1
    Last Post: April 26th, 2010, 03:50 PM

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 06:44 PM.