Loading a custom transport programatically

1 post / 0 new
Offline
Joined: 03/01/2018
Posts: 1
Loading a custom transport programatically

Hi,

I am trying to load a custom transport that I wrote programatically.  I have successfully loaded the custom transport by altering the USER_QOS_PROFILE.xml and creating my DomainParticipant by passing the profile and library name in the constructor.  I would now like to change the default qos for all participants to use the custom transport. At the call: 

/* Set the Plugin */
retcode = DDSPropertyQosPolicyHelper::add_property(domainparticipant_qos.property ,
"dds.transport.load_plugins",
"dds.transport.VBP.myPlugin",
DDS_BOOLEAN_FALSE);

The value of retcode is DDS_PRECONDITION_NOT_MET(4). Is there additional steps I am missing before setting the property?

Thanks,

Chris

Organization: