Class SolaceJcsmpPerMessageProperties
java.lang.Object
com.adaptris.core.jcsmp.solace.translator.SolaceJcsmpPerMessageProperties
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
applyPerMessageProperties
(AdaptrisMessage destMessage, com.solacesystems.jcsmp.XMLMessage sourceMessage) void
applyPerMessageProperties
(com.solacesystems.jcsmp.XMLMessage destMessage, AdaptrisMessage sourceMessage) Set the ACK Immediately message property.Sets the message ID (a string for an application-specific message identifier).Sets the reply field of the message.Sets the Class of Service (CoS) value for this message.Sets the correlation ID.Sets the correlation key.Sets the delivery mode of the message.Set the message to be eligible to be moved to a Dead Message Queue.Sets whether the message is eligible for eliding.The UTC time (in milliseconds, from midnight, January 1, 1970 UTC) when the message is supposed to expire.Sets the HTTP content type encoding value for interaction with an HTTP client.Sets the HTTP content type value for interaction with an HTTP client.A message can optionally have priority set.Sets the replyTo destination (queue) for the message.Appends a String to the session's default ReplyTo base topic and creates a ReplyTo Topic Destination.Sets the replyTo destination (topic) for the message.Sets the Sender ID for the message.Allows the application to set the send timestamp, if so the API will not generate a value.Sets the sequence number.The number of milliseconds before the message is discarded or moved to a Dead Message Queue.void
setAckImmediately
(String ackImmediately) Set the ACK Immediately message property.void
setApplicationMessageId
(String applicationMessageId) Sets the message ID (a string for an application-specific message identifier).void
setAsReplyMessage
(String asReplyMessage) Sets the reply field of the message.void
setClassOfService
(String classOfService) Sets the Class of Service (CoS) value for this message.void
setCorrelationId
(String correlationId) Sets the correlation ID.void
setCorrelationKey
(String correlationKey) Sets the correlation key.void
setDeliveryMode
(String deliveryMode) Sets the delivery mode of the message.void
setDmqEligible
(String dmqEligible) Set the message to be eligible to be moved to a Dead Message Queue.void
setElidingEligible
(String elidingEligible) Sets whether the message is eligible for eliding.void
setExpiration
(String expiration) The UTC time (in milliseconds, from midnight, January 1, 1970 UTC) when the message is supposed to expire.void
setHttpContentEncoding
(String httpContentEncoding) Sets the HTTP content type encoding value for interaction with an HTTP client.void
setHttpContentType
(String httpContentType) Sets the HTTP content type value for interaction with an HTTP client.void
setPriority
(String priority) A message can optionally have priority set.void
setReplyToQueue
(String replyToQueue) Sets the replyTo destination (queue) for the message.void
setReplyToSuffix
(String replyToSuffix) Appends a String to the session's default ReplyTo base topic and creates a ReplyTo Topic Destination.void
setReplyToTopic
(String replyToTopic) Sets the replyTo destination (topic) for the message.void
setSenderId
(String senderId) Sets the Sender ID for the message.void
setSenderTimestamp
(String senderTimestamp) Allows the application to set the send timestamp, if so the API will not generate a value.void
setSequenceNumber
(String sequenceNumber) Sets the sequence number.void
setTimeToLive
(String timeToLive) The number of milliseconds before the message is discarded or moved to a Dead Message Queue.
-
Constructor Details
-
SolaceJcsmpPerMessageProperties
public SolaceJcsmpPerMessageProperties()
-
-
Method Details
-
applyPerMessageProperties
public void applyPerMessageProperties(AdaptrisMessage destMessage, com.solacesystems.jcsmp.XMLMessage sourceMessage) throws com.solacesystems.jcsmp.SDTException - Throws:
com.solacesystems.jcsmp.SDTException
-
applyPerMessageProperties
public void applyPerMessageProperties(com.solacesystems.jcsmp.XMLMessage destMessage, AdaptrisMessage sourceMessage) throws com.solacesystems.jcsmp.SDTException - Throws:
com.solacesystems.jcsmp.SDTException
-
getAckImmediately
Set the ACK Immediately message property. -
setAckImmediately
Set the ACK Immediately message property. -
getApplicationMessageId
Sets the message ID (a string for an application-specific message identifier). -
setApplicationMessageId
Sets the message ID (a string for an application-specific message identifier). -
getAsReplyMessage
Sets the reply field of the message. -
setAsReplyMessage
Sets the reply field of the message. -
getCorrelationId
Sets the correlation ID. -
setCorrelationId
Sets the correlation ID. -
getCorrelationKey
Sets the correlation key. -
setCorrelationKey
Sets the correlation key. -
getClassOfService
Sets the Class of Service (CoS) value for this message. 1 being the lowest class of service and 3 being the highest. -
setClassOfService
Sets the Class of Service (CoS) value for this message. 1 being the lowest class of service and 3 being the highest. -
getDeliveryMode
Sets the delivery mode of the message. Should be one of the following; DIRECT|NON_PERSISTENT|PERSISTENT -
setDeliveryMode
Sets the delivery mode of the message. Should be one of the following; DIRECT|NON_PERSISTENT|PERSISTENT -
getDmqEligible
Set the message to be eligible to be moved to a Dead Message Queue. -
setDmqEligible
Set the message to be eligible to be moved to a Dead Message Queue. -
getElidingEligible
Sets whether the message is eligible for eliding. -
setElidingEligible
Sets whether the message is eligible for eliding. -
getExpiration
The UTC time (in milliseconds, from midnight, January 1, 1970 UTC) when the message is supposed to expire. -
setExpiration
The UTC time (in milliseconds, from midnight, January 1, 1970 UTC) when the message is supposed to expire. -
getHttpContentEncoding
Sets the HTTP content type encoding value for interaction with an HTTP client. -
setHttpContentEncoding
Sets the HTTP content type encoding value for interaction with an HTTP client. -
getHttpContentType
Sets the HTTP content type value for interaction with an HTTP client. -
setHttpContentType
Sets the HTTP content type value for interaction with an HTTP client. -
getPriority
A message can optionally have priority set. -
setPriority
A message can optionally have priority set. -
getReplyToQueue
Sets the replyTo destination (queue) for the message. -
setReplyToQueue
Sets the replyTo destination (queue) for the message. -
getReplyToTopic
Sets the replyTo destination (topic) for the message. -
setReplyToTopic
Sets the replyTo destination (topic) for the message. -
getReplyToSuffix
Appends a String to the session's default ReplyTo base topic and creates a ReplyTo Topic Destination. -
setReplyToSuffix
Appends a String to the session's default ReplyTo base topic and creates a ReplyTo Topic Destination. -
getSenderId
Sets the Sender ID for the message. -
setSenderId
Sets the Sender ID for the message. -
getSenderTimestamp
Allows the application to set the send timestamp, if so the API will not generate a value. -
setSenderTimestamp
Allows the application to set the send timestamp, if so the API will not generate a value. -
getSequenceNumber
Sets the sequence number. -
setSequenceNumber
Sets the sequence number. -
getTimeToLive
The number of milliseconds before the message is discarded or moved to a Dead Message Queue. -
setTimeToLive
The number of milliseconds before the message is discarded or moved to a Dead Message Queue.
-