You can use the Get Message activity to get a message from
the queue. If there is no message present the activity can time out.
The Get Message Activity supports batching, if the batching
option is selected. When the batching option is selected, if there
is more than one message in the queue, the activity processes all
the messages at once, instead of processing them one at a time.
Important: This orchestration must already have a JMS endpoint
representing the data source. Otherwise, input and output mapping
is disabled.