![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |
tibems_status tibemsSession_CreateSharedDurableConsumer(tibemsSession session,const char* messageSelector );CALL "tibemsSession_CreateSharedDurableConsumer"BY REFERENCE consumer,BY VALUE topic,BY REFERENCE durableName,
A durable subscription will continue to accumulate messages until it is deleted using the tibemsSession_Unsubscribe function.This method may only be used with shared durable subscriptions. Any durable subscription created using this method is shared. This means that multiple active (that is, not closed) consumers on the subscription may exist at the same time. The term consumer here means a tibemsMsgConsumer object in any client.If a shared durable subscription already exists with the same name and client identifier (if set), and the same topic and message selector have been specified, then this method creates a tibemsMsgConsumer on the existing shared durable subscription.There is no restriction on durable subscriptions and shared non-durable subscriptions having the same name and clientId (which may be unset). Such subscriptions would be completely separate.
![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |