Here is an example of the contents of the SDK application configuration file:
application_name=simpleSDK_adapter
application_version=1.0
application_info=fileadapterinfo
config_URL=/tibco/private/adapter/sdkTest_Adapters/simpleSKD_adapter
remote_repository=Sybase/eas/repra/conf/sampleSDK.dat
data_publish_name=myPub
pub_subject=repraTest.subject1
pre_registered_subscribers=myCmListener,myCmListener2
command_args=-system:repourl ../repra/conf/sampleSDK.dat -system:configurl /tibco/private/adapter/sdkTest_Adapters/simpleSDK_adapter
By default, the message format is an XML text-stream representation of the RepEvent. In a Tibrv Listener, the format is:
The following message has been formatted for readability.
message = { ^pfmt^ = 10 ^ver^ = 30 ^type^ =1 ^encoding^ =1 ^tracking^={^id^="5rRX7g5jVWROok8EujzzwB3Uzzw"} ^data^={ data={RepEvent="<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE dbStream SYSTEM 'http://yjeongw2k:8080/repra/dtds/dbeventstream.dtd'> <dbStream environment="repraJMS2.repdb"> <tran eventId="102:000000000000c8d500007fe7003900007fe70036000093bd00bf1c0c0000000000010001"> <insert schema="REP4"> <values> <cell name="repId" type="INT">2</cell> <cell name="repName" type="VARCHAR">name 2</cell> <cell name="repCode" type="VARCHAR">code 2</cell> </values> </insert> </tran> </dbStream>"} } }