Results 1 to 2 of 2
  1. #1
    Senior Member
    Join Date
    Dec 2019
    Posts
    66

    Creating Many Data Adapters for on Meta Data Adapter

    Hi,

    I have a plan to build a general adapter for my project, the idea is to build a single adapter which can respond with the data based on the customer requirements.
    i.e.

    • if the client wish to subscribe with MERGE, it will get the data of the MERGE subscription.
    • if the client wish to subscribe with COMMAND, it will get the data of the COMMAND subscription.


    Is that possible with light streamer or not? if yes, Is it recommended or not?

    Regards
    Last edited by ManKeer; December 2nd, 2019 at 08:13 AM.

  2. #2
    Administrator
    Join Date
    Feb 2012
    Location
    Milano
    Posts
    716
    Hi ManKeer,

    since the responsibility to control and force the subscription modes for each Item is attributed to the Metadata what you want to do is not possible. You should switch from a model with 1 Metadata and n Data adapters to a model with n Metadata and n Data adapters. But I am aware that it might be too complicated.

    What we recommend is to have different Items for different subscription modes so that they can be managed by the same Metadata. Then it is your free choice whether to supply only one Data adapter or more than one each for each type of Items.

    Regards,
    Giuseppe

 

 

Similar Threads

  1. MacOS 2.1.2 client creating too many threads?
    By hpang in forum Client SDKs
    Replies: 3
    Last Post: September 19th, 2017, 08:14 PM
  2. Creating adapter for dynamic stock list
    By rvkvino in forum General
    Replies: 1
    Last Post: February 14th, 2017, 10:22 AM
  3. Null Pointer Exception while creating adapter
    By anilkumar2508 in forum Adapter SDKs
    Replies: 1
    Last Post: October 19th, 2012, 10:03 AM
  4. .Net Messaging system - meta and data adapter linking
    By paul.syson@internova.co.u in forum Adapter SDKs
    Replies: 6
    Last Post: March 24th, 2009, 10:13 AM
  5. Need sample code for Meta Adapter
    By rekhender in forum Adapter SDKs
    Replies: 5
    Last Post: July 23rd, 2008, 10:34 AM

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 11:13 AM.