Copyright © Cloud Software Group, Inc. All rights reserved |
Guaranteed delivery and receipt of EMS messages is enabled by sending persistent messages over topics to durable subscribers. For this purpose, only the transferTypes of BlockModeSFT and RecordMode with EMS are used.
1. Set the deliveryMode="persistent" for the Publisher.
2. Set the publishDestinationType="TOPIC" for the PublisherSimilarly, for the subscriber, set the subscribeDestinationName="TOPIC".
3. Set the SubscriberName="sub1"Here, sub1 is an identifier of your choice.A new SubscriberName ID is required so that the EMS server can identify which consumer clients requires which messages resent after a failure. This Subscribername ID is created dynamically when the Subscriber is started. These durable subscriber Subscriber IDs can also be created with the aid of the EMS Administration Tool or through configuration files on the server. This first implementation of durable subscriber support in the adapter does not have any mechanism to remove a durable subscriber through the Subscriber; the EMS Administration tool is used.
5. If the endPublishDestinationName parameter is specified in the Publisher, it must equal the same value as publishDestinationName. Similarly, the value of the subscribeDestinationName parameter and publishDestinationName must equal the value of the generateFileSubjectName parameter. in the Subscriber.
Copyright © Cloud Software Group, Inc. All rights reserved |