Uses of Class
com.mayam.wf.mq.MqMessage
Packages that use MqMessage
Package
Description
This package provides the main interface to MQ handling within Mayam Tasks
and associated applications and libraries.
This package holds Mayam message property names and values.
-
Uses of MqMessage in com.mayam.wf.mq
Methods in com.mayam.wf.mq that return MqMessageModifier and TypeMethodDescriptionAttributeMessageBuilder.build()
Builds anMqMessage
based on the information collected.Sets a message property, converting the provided value to a string usingValueNormalizer
.Sets a message property.MqMessage.setByteContent
(byte[] byteContent) Sets the message byte content.MqMessage.setContent
(String content) Sets the message text content.MqMessage.setLarge
(boolean large) Sets whether the message is too large to have its contents passed directly through the MQ.MqMessage.setProperties
(Map<String, String> properties) Sets all message properties, replacing any already set.MqMessage.setType
(MqContentType type) Sets the message type.Methods in com.mayam.wf.mq with parameters of type MqMessageModifier and TypeMethodDescriptionvoid
void
A message has been received and is ready to be handled.void
Mq.send
(MqDestination destination, MqMessage msg) Send aMqMessage
to a given queue or topic.void
Mq.sendVolatile
(MqDestination destination, MqMessage msg) Send aMqMessage
to a given queue or topic.Constructor parameters in com.mayam.wf.mq with type arguments of type MqMessageModifierConstructorDescriptionAttributeMessageBuilder
(javax.inject.Provider<MqMessage> msgProvider, javax.inject.Provider<AttributeMap> mapProvider, com.mayam.wf.attributes.server.AttributeMapMapper mapper) -
Uses of MqMessage in com.mayam.wf.mq.property
Methods in com.mayam.wf.mq.property with parameters of type MqMessageModifier and TypeMethodDescriptionstatic ChangeType
ChangeType.fromMessage
(MqMessage message) Returns theChangeType
of a message.static JobState
JobState.fromMessage
(MqMessage message) Returns theJobState
of a message.static @Nullable MessageType
MessageType.fromMessage
(MqMessage message) Returns theMessageType
of a message.static SegmentState
SegmentState.fromMessage
(MqMessage message) Returns theSegmentState
of a message.static TrafficRequestType
TrafficRequestType.fromMessage
(MqMessage message) Returns theTrafficRequestType
of a message.