Results 1 to 3 of 3

Threaded View

  1. #1

    Subscribed item format

    Hi

    I'm coding an adapter based on the stock list demo and I am using a modified version of the python client for stock list demo to test it. Problem is that we have items with the following format: [digits]:[digits or letters]. In the adapters.xml I have:



    When I use the python client to subscribe an item like "10:100000090003" I got the following error at the server log:

    10-mai-19 17:59:39,867|INFO |L.requests |SERVER POOLED THREAD 1 |Refused request: Metadata Provider refusal: Mode MERGE is not supported for item 10:100000090003 on "Lightstreamer HTTP Server" from 127.0.0.1:55618

    The python client also receive an error from the server.

    When I try other regular expressions like this very permissive ".*:.*" I got another error:

    0-mai-19 18:02:56,751|ERROR|L.subscriptions |SERVER POOLED THREAD 7 |Subscription error for item 10:100000090003 on CDS_ADAPTER.QOMET_ADAPTER: Unexpected item: 10:100000090003

    In this case, the python client doesn't receive an error.

    What's wrong here? The regex? The item format? I didn't found a documentation about item format. If there is one please point me to the right direction.

    Our adapter is already working if we update/subscribe items with names like the demo ("item1", "item2" or "test") but we really need to use items with the format specified above.

    Thanks in advance!
    Last edited by EmersonPardo; May 10th, 2019 at 10:25 PM.

 

 

Similar Threads

  1. Replies: 3
    Last Post: May 21st, 2018, 11:20 AM
  2. How to format values on initial "update"
    By alexreinert in forum Client APIs
    Replies: 2
    Last Post: July 21st, 2015, 10:35 AM
  3. Replies: 2
    Last Post: December 24th, 2010, 07:51 AM
  4. format value in VisualTable
    By tuongkha in forum Client APIs
    Replies: 9
    Last Post: July 9th, 2008, 09:27 AM
  5. Adding/Removing item in subscribed group
    By rsouissi in forum Adapter APIs
    Replies: 4
    Last Post: January 10th, 2007, 06:11 PM

Tags for this Thread

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 02:54 PM.