# tibemsMsg_SetDeliveryMode

Function

## Purpose

Set the delivery mode header of a message.

## C Declaration

    tibems_status tibemsMsg_SetDeliveryMode(
        tibemsMsg message,
        tibemsDeliveryMode value );

## COBOL Call

    CALL "tibemsMsg_SetDeliveryMode"
         USING BY VALUE message,
               BY VALUE value,
               RETURNING tibems-status
    END-CALL.

Note: `message` has usage pointer.

## Parameters

Parameter | Description
--- | ---
`message` | Set the delivery mode of this message.
`value` | Set the delivery mode to this value.

## Remarks

Sending calls set the delivery mode header automatically. The JMS specification defines this call for symmetry.

## See Also

`tibemsDeliveryMode`

`tibemsMsg_GetDeliveryMode`

Copyright © Cloud Software Group, Inc. All rights reserved.