TIBCO Adapter SDK C++ Reference
API Changes
For detailed information, see the following documents.

  • TIBCO Adapter SDK Release Notes

  • readme.txt
New Classes and Methods in This Release
The following methods are new in this release:

 

1. messageSelector and durableName member variables

can now be set on the MJmsEndpoint spec. Please refer to the JMS manual for relevance of these.

 

2. setJmsProperty() methods on MTree

virtual void setJmsProperty( const MString& rsPropertyName, const bool rsPropertyValue);

virtual void setJmsProperty( const MString& rsPropertyName, const char rsPropertyValue);

virtual void setJmsProperty( const MString& rsPropertyName, const double rsPropertyValue);

virtual void setJmsProperty( const MString& rsPropertyName, const float rsPropertyValue);

virtual void setJmsProperty( const MString& rsPropertyName, const int rsPropertyValue);

virtual void setJmsProperty( const MString& rsPropertyName, const long rsPropertyValue);

virtual void setJmsProperty( const MString& rsPropertyName, const short rsPropertyValue);

virtual void setJmsProperty( const MString& rsPropertyName, const MString& rsPropertyValue);

 

3. Support for rotation of log files based on size and/or timestamp

MFileSink.h

MFileSink(MApp* pMApp, const MString& filename, const MString& sinkname, unsigned long fileLength, unsigned long noOfSwapFiles, unsigned long timeInterval, const MString& fileEncoding, MbooleanbAppendMode= Mtrue);

virtual void setFileEncoding(const MString& rsFileEncoding);

virtual const MString& getFileEncoding() const;

virtual void setTimeInterval(unsigned long ulTimeInterval);

void doRolloverIfNecessary(unsigned long ulMsgLen) throw(MException);

void calculateNextRollovetime(long timeInterval);

MConfigurationUtilities.h -

MComponent* createFileSink( MString const& rsSinkName, MString const &rsFilename ,unsigned long ulFilelength, unsigned long ulNoOfSwapFile ,unsigned long timeInterval,MString const & fileEncoding, Mboolean bAppendMode = Mtrue ) throw (MException);

 

4. Encoding support for tracing

MFileSink(MComponentRegistry registry, String sinkName, String fileName,int fileSizeLimit, int numFiles, int timeInterval, String timeUnit, String charsetName, boolean appendData)

 

5. Support the limit of the task queue of a distributed queue transport

virtual void setTaskBacklogLimitInBytes(unsigned int limitBySizeInBytes) throw(MException);

virtual void setTaskBacklogLimitInMessages(unsigned int limitByMessages) throw(MException);

Copyright (c) 2010 TIBCO Software Inc. All rights reserved.