Skip to main content

message.setEndpoint

message.setEndpoint(name)

Description

Sets the endpoint of the message.

Parameters

ParameterTypeExplanation
nameStringName of the endpoint to set in the endpoint field of the header

Example

message.setEndpoint("endpoint")