From 48b9d0babe189d713680a01d5714b294b11d4ac5 Mon Sep 17 00:00:00 2001 From: NuwanTissera Date: Mon, 21 Nov 2022 23:10:59 +0530 Subject: [PATCH] set a deafault in content type in message --- asb-ballerina/message.bal | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/asb-ballerina/message.bal b/asb-ballerina/message.bal index ae17c326..9769e02a 100644 --- a/asb-ballerina/message.bal +++ b/asb-ballerina/message.bal @@ -35,7 +35,7 @@ public type Message record {| @display {label: "Body"} string|xml|json|byte[] body; @display {label: "Content Type"} - string contentType?; + string contentType = TEXT; @display {label: "Message Id"} string messageId?; @display {label: "To"}