11-13-2019 05:12 AM
Hi,
As per Snaplogic documentation for JMS Consumer there is a reference about STOP in the Processing Mode option but there no explanation how can we set this STOP option.
Any information will really be very helpful.
Thanks in advance.
11-14-2019 08:39 AM
From Development:
When the consumer pipeline is running, and it might run for a longer time, and we wish to gracefully stop the Snap without manually terminating the pipeline then this “Control Destination” property helps. Just provide some queue/topic name in this property.
When you want to terminate the Consumer Snap, simply write a “STOP” text message to the control destination using a JMS Producer Snap.
The moment control destination sees the STOP message, it signals the Consumer Snap to gracefully shutdown.