10.27.03

HelperDestination Class

Utilities class for working with IDestination, it includes:
  • Helper method to get the string encoding of a given IDestination.
  • Helper methods to create IQueue and ITopic given their corresponding string encoding.
  • Definition

    Namespace: SolaceSystems.Solclient.Messaging
    Assembly: SolaceSystems.Solclient.Messaging (in SolaceSystems.Solclient.Messaging.dll) Version: 10.27.0
    C#
    public static class Destination
    Inheritance
    Object    HelperDestination

    Methods

    GetEncodedName Returns a string encoded representation of a ITopic or IQueue destination.
    QueueFromEncodedName Creates a IQueue instance given its encoded string form. The durability of the queue is inferred from the encoded string form (encodedQueueName).
    TopicFromEncodedName Creates a ITopic instance given its encoded string form. Whether the topic is temporary or not is inferred from the encoded string form (encodedTopicName).

    See Also