Puts a message into a transport.
put();
Integer. Returns 1 for success, and 0 for failure.
ot1.addProp(OT_PROP_TRANSPORT,”NNOT_TIL_OPEN_TSI”,”TestQueue”);
ot1.create(“putContext”);
ot1.open(“putTransport”);
data= “test message”;
ot1.setData(&Data);
ot1.begin();
ot1.put();
ot1.commit();
ot1.close();
Copyright © 2005. Sybase Inc. All rights reserved. |
![]() |