Factories
As programming interfaces for object-oriented languages, the Java RTO, JavaScript, Node.js, and .NET APIs use a singleton factory as the first point of contact to the APIs. A factory is used to obtain instances of messaging system entities such as contexts, sessions, non-temporary destinations, durable endpoint instances, and subscriptions. It is also used to configure global properties, and it exposes a number of useful statistics at the message and memory pool levels.
PubSub+ Messaging API | Use |
---|---|
Java RTO |
com.solacesystems.solclientj.core. |
C |
Not applicable |
.NET |
solacesystems.Solclient.Messaging. |
JavaScript and Node.js |
solace.SolclientFactory |