TIBCO Adapter SDK C++ Reference
MConfigurationUtilities::createMatchingEndpoint
MConfigurationUtilities
Create a matching endpoint given an endpoint URL. This form uses the default MProperties to create the matching endpoint.
Remarks
If session is passed in, the new endpoint component uses the specified session. If session is NULL or empty, session name is the name of the session the endpoint is pointing to with “_sdk” appended. The new matching endpoint object has the component name appended with “_sdk”.

For CMQ subscriber endpoint, the MPublisher is CM. The resulting session is CM with CM name appended with “_sdk”. Similarly, TIBCO Rendezvous TX sessions have the transaction name appended with “_sdk”.

Parameters sSessionName : Session to use for this endpoint. sURL : Configuration location for this endpoint.

Declaration
MComponent * createMatchingEndpoint(MString const & sURL, MString const sSessionName = "") throw( MException);
Links
Copyright (c) 2010 TIBCO Software Inc. All rights reserved.