-
May 19th, 2023, 10:38 AM
#4
Hi Giuseppe,
Thank you for the reply, I just wanted to confirm with the adapters.xml file that i wrote and want you to check it for this above code.
<?xml version="1.0" encoding="UTF-8"?>
<!-- Do not remove this line. File tag: adapters_conf-APV-7.2.0. -->
<!-- This is a generic template for the configuration file of an Adapter Set pluggable into Lightstreamer Server. It can be considered a reference example of an in-process Java Adapter deploy. Note that element and attribute names are case-sensitive.
A very simple variable-expansion feature is available; see <enable_expansion_for_adapters_config> in the Server's main configuration file. -->
<!-- Mandatory. Define an Adapter Set and its unique ID. -->
<adapters_conf id="HELLOWORLD">
<metadata_provider>
<!-- Mandatory. Java class name of the adapter. -->
<adapter_class>classfile.adapters.metadata.Literal BasedProvider</adapter_class>
</metadata_provider>
<!-- Mandatory. Define a Data Adapter named "HelloWorldAdapter". -->
<data_provider name="HelloWorldDataAdapter">
<param name="db_hostname">localhost</param>
<param name="db_user">root</param>
<param name="db_password">xxxx</param>
<param name="jdbc_driver">com.mysql.jdbc.Driver</param>
<adapter_class>classfile.adapters.HelloWorldDataAd apter</adapter_class>
</data_provider>
</adapters_conf>
If this is correct i am going to paste the adapters folder in the lightstreamer server folder. And then how to see the output in the lightstreamer server?
Similar Threads
-
By zschmidt in forum Adapter SDKs
Replies: 2
Last Post: April 30th, 2014, 04:14 PM
-
By V S Suresh in forum Adapter SDKs
Replies: 2
Last Post: October 25th, 2012, 08:11 AM
-
By Alessandro in forum Adapter SDKs
Replies: 4
Last Post: October 24th, 2011, 09:33 AM
-
By k.mcc2009 in forum Adapter SDKs
Replies: 1
Last Post: May 21st, 2009, 09:41 AM
-
By khalil78 in forum Adapter SDKs
Replies: 2
Last Post: April 22nd, 2008, 11:46 AM
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
All times are GMT +1. The time now is 01:19 PM.
Bookmarks