-
February 12th, 2008, 07:14 PM
#1
Server.AdapterConfig
To my custom Dataadapter, I need to pass in some parameters.
So I use Server.AdapterConfig
What is the format for the AdapterConfig file?
Can I use the pass the below XML file to Server.AdapterConfig?
<?xml version="1.0"?>
<adapters_conf id="DWJMS">
<metadata_provider>
<adapter_class>com.lightstreamer.adapters.metadata .LiteralBasedProvider</adapter_class>
</metadata_provider>
<data_provider>
<adapter_class> LSAdapters.Test.Lightstreamer.Adapters.DatawareAda pter</adapter_class>
<param name="loggerName">c:\temp\StatusLog.txt</param>
<param name="msgPoolSize">15</param>
<param name="recoveryPauseMillis">2000</param>
<!--EMS example configuration -->
<param name="jmsUrl">tcp://dev:7222</param>
<param name="initialContextFactory">com.tibco.tibjms.nami ng.TibjmsInitialContextFactory</param>
<param name="topicConnectionFactory">TopicConnectionFacto ry</param>
<param name="queueConnectionFactory">QueueConnectionFacto ry</param>
<param name="topicName">topic.sample</param>
<param name="queueName">tro.tibco.usage</param>
<!-- JBoss Messaging example configuration -->
<!--
<param name="jmsUrl">jnp://localhost:1099</param>
<param name="initialContextFactory">org.jnp.interfaces.Na mingContextFactory</param>
<param name="topicConnectionFactory">ConnectionFactory</param>
<param name="queueConnectionFactory">ConnectionFactory</param>
<param name="topicName">topic/stocksTopic</param>
<param name="queueName">queue/stocksQueue</param>
-->
</data_provider>
</adapters_conf>
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 03:18 PM.
Bookmarks