Skip to content

UCloudEvent.toMessage(CloudEvent) throws an exception if priority string doesn't match any enum value of UPriority #9

@neelam-kushwah

Description

@neelam-kushwah

When we receive a CloudEvent with priority set as "CS4" it fails to convert by UCloudEvent.toMessage(event).
Error: "No enum constant org.eclipse.uprotocol.v1.UPriority.CS4"
It expects strings as "UPRIORITY_CS4"

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions