cancel
Showing results for 
Search instead for 
Did you mean: 

JMS Consumer - Processing mode information

akashyap
New Contributor

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.

1 REPLY 1

dmiller
Former Employee

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.


Diane Miller