Class MessageWrapper
- java.lang.Object
-
- com.evolveum.midpoint.model.impl.messaging.MessageWrapper
-
public class MessageWrapper extends Object
TODO move somewhere else or rewrite
-
-
Constructor Summary
Constructors Constructor Description MessageWrapper(@NotNull AsyncUpdateMessageType message, @NotNull PrismContext prismContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Amqp091MessageAttributesType
getAttributes()
byte[]
getBody()
Map<String,Object>
getBodyAsMap()
Item<?,?>
getBodyAsPrismItem(String language)
AsyncUpdateMessageType
getOriginalMessage()
String
getText()
-
-
-
Constructor Detail
-
MessageWrapper
public MessageWrapper(@NotNull @NotNull AsyncUpdateMessageType message, @NotNull @NotNull PrismContext prismContext)
-
-
Method Detail
-
getAttributes
public Amqp091MessageAttributesType getAttributes()
-
getBody
public byte[] getBody()
-
getText
public String getText()
-
getOriginalMessage
public AsyncUpdateMessageType getOriginalMessage()
-
getBodyAsMap
public Map<String,Object> getBodyAsMap() throws IOException
- Throws:
IOException
-
getBodyAsPrismItem
public Item<?,?> getBodyAsPrismItem(String language) throws SchemaException
- Throws:
SchemaException
-
-