Skip to content

_requeue

bergsma edited this page Sep 26, 2014 · 3 revisions

#requeue

###Re-queue an incoming message to service at a later time.

Syntax

status = requeue ;

Arguments

  • None

Return Value

str status
  • $ACKNOWLEDGE : The message was requeued.

The STATUS variable is set to $ACKNOWLEDGE

str status
  • $ACKNOWLEDGE : The message was requeued.

The STATUS variable is set to $ACKNOWLEDGE

Exceptions

  • %ARGUMENT: Invalid arguments. Usage: status = requeue ;

Description

When an incoming message arrives in which there is an on_message handler, the requeue() function can be used within the handler to re-queue the message for later processing. The different actions upon returning from the on_message handler are as follows: ul

Examples

puts "Create an example for the function 'requeue'" ;

Related Links

None

Clone this wiki locally