IFlow.GetEndpoint Method

Solclient

IFlowGetEndpoint Method
version: 7.2.1.27
Returns a reference to the Endpoint which this flow is bound to.

Possible endpoints include ITopicEndpoint, IQueue, or ISubscriberEndpoint

Endpoints can be durable or non-durable. Durable endpoints must be explicitly created through CreateDurableTopicEndpointEx(String) or CreateQueue(String).

Non-durable endpoints are implicitly created after creating the flow and connecting the parent session, therefore calling this method before the parent ISession is connected will throw an OperationErrorException.

Note that IQueue is both an IEndpoint and IDestination, so it has both the durability ( see Durable ) and temporariness (see Temporary ) properties.

Namespace: SolaceSystems.Solclient.Messaging
Assembly: SolaceSystems.Solclient.Messaging (in SolaceSystems.Solclient.Messaging.dll) Version: 7.2.1.27 (7.2.1.27)
Syntax
IEndpoint GetEndpoint()
Function GetEndpoint As IEndpoint
IEndpoint^ GetEndpoint()

Return Value

Type: IEndpoint
An IEndpoint instance.
Exceptions
ExceptionCondition
OperationErrorException Thrown when the operation fails.
ObjectDisposedException Thrown when the flow is already disposed (terminal state).
FatalErrorException Thrown when an unrecoverable error occurs.
See Also