Groovy (Low-code)SDK Functions (Groovy)MessageHeadermessage.setEndpointOn this pagemessage.setEndpoint message.setEndpoint(name) Description Sets the endpoint of the message. Parameters ParameterTypeExplanationnameStringName of the endpoint to set in the endpoint field of the header Example message.setEndpoint("endpoint")