5 29 5 RECEIVE

LANSA Integrator

5.29.5 RECEIVE

The RECEIVE command is used to receive a message.

To receive JMS message properties from the message use the optional working list argument.

The first column receives the property type, the second column receives the property name and the third column receives the property value. The property type is always S (String) for user-defined properties and J for special JMS properties.

The message identifier (MessageID) is returned in the JSMMSG field.

Syntax:

Command

Keyword

Value

Developer notes for Command/Keyword/Value

RECEIVE

ENCODING

value

Optional. See ENCODING.
Default is to auto-detect encoding.

WAITTIME

value.

Optional. Wait time in milliseconds.
Default. 0 forever.

SELECTOR

value

Optional. Message selector.

ARCHIVE

value

Optional. Archive file.

 

Example

 

RECEIVE SERVICE_LIST(PRPTYP,PRPNME,PRPVAL)