-
1. Re: Working with Narayana in C++
mmusgrov Jul 1, 2016 6:02 AM (in response to yash.ganthe)The bindings refer to our implementation of the XATMI standard and the description of our implementation of it is in the Narayana Project Documentation
-
2. Re: Working with Narayana in C++
yash.ganthe Jul 1, 2016 6:50 AM (in response to mmusgrov)Can a C++ application use Narayana as a Transaction Manager?
Regards,
Yash
-
3. Re: Working with Narayana in C++
mmusgrov Jul 1, 2016 7:15 AM (in response to yash.ganthe)1 of 1 people found this helpfulYes. The interface is in here. When you use the interface from a C application the implementation delegates transaction related calls to the Narayana transaction manager running in a process external to the client.
-
4. Re: Working with Narayana in C++
yash.ganthe Jul 1, 2016 7:45 AM (in response to mmusgrov)Can you point me to an example that shows how this can be used? When I start an external program, is there a port that is opened to which the C++ application needs to connect before calling the API? Apart from the source code, is there some documentation?
Thanks,
Yash
-
5. Re: Working with Narayana in C++
mmusgrov Jul 1, 2016 7:57 AM (in response to yash.ganthe)Q1: Take a look at our quickstarts
Q2: You need to provide a configuration file with your application and that is where ports and hosts are configured (the details are in the documentation).
Q3: Take a look at the Narayana Project Documentation
-
6. Re: Working with Narayana in C++
marklittle Jul 5, 2016 4:37 AM (in response to yash.ganthe)You can also use the CORBA/OTS bindings. Take a look at the OTS idl in the distribution and the OrbPortability docs for his the OTS transaction manager can be exposed to external clients (e.g., CORBA name service or shared file). Then you can bind to that using your C++ application.
-
7. Re: Working with Narayana in C++
mmusgrov Jul 5, 2016 4:44 AM (in response to marklittle)Good catch Mark. And we do have a jts quickstart that demonstrates how to do that.