Class SQSMessagingClientUtil
- java.lang.Object
-
- com.amazon.sqs.javamessaging.util.SQSMessagingClientUtil
-
public final class SQSMessagingClientUtil extends Object
Includes utility classes to use when serializing property names to SQS message attribute names. SQS message attribute names accept limited set of characters, so if the property names include any characters that is not accepted, they can be serialized through these basic utility classes.
-
-
Constructor Summary
Constructors Constructor Description SQSMessagingClientUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
deserializePropertyName(String name)
Changes everything from underscores Unicode number underscores back to original character, e.g., (_42_attr_42_ -> *attr*).static String
serializePropertyName(String name)
Keeping alphabet, numeric characters, hyphens, underscores, or dots.
-
-
-
Method Detail
-
serializePropertyName
public static String serializePropertyName(String name)
Keeping alphabet, numeric characters, hyphens, underscores, or dots.Changes everything to underscores Unicode number underscores, e.g., (*attr* -> _42_attr_42_).
- Parameters:
name
- The name of the property to serialize.- Returns:
- The serialized name
-
-