Saturday, February 5, 2011

Difference between JMS Queue Receiver & Get JMS Queue Message activities

JMS Queue Receiver:

  1. It is a process starter activity. It continues to poll destination queue to start the execution of process definition.
  2. After BusinessEngine started, a new process instance will be created for every single message it received.
  3. It has only static selector option to configure. That means we can filter all the messages with one selector value only. If you wish to filter messages with different selector values you would need to create more process definitions with JMSQueue reciver.

Get JMS Queue Message:

  1. It is NOT a process Starter activity. We could place this activity between starter and end activity of process definition. This activity executes only when its triggered.
  2. It executes all the queue messages in a single process instance and retrives one message at a time even more messages on the queue.
  3. It has both dynamic and static selectors. With a dynamic selector, one would be able to change the selector value for every message in the queue.

0 comments:

Popular Posts

  © Blogger templates The Professional Template by Ourblogtemplates.com 2008

Back to TOP