public final class AgentJmsUtils extends Object
Modifier and Type | Method and Description |
---|---|
static String |
getDestinationName(javax.jms.Topic topic,
String id) |
static Long |
getInstanceFingerprint(javax.jms.Message message) |
static Integer |
getUuidHash(javax.jms.Message message)
Retrieves UUID hash from the message.
|
static boolean |
isExpensive(javax.jms.Message message)
Checks whether the message was marked as expensive.
|
static void |
setExpensive(javax.jms.Message message,
boolean expensive)
Marks message as expensive.
|
static void |
setFingerprint(javax.jms.Message message,
ServerFingerprint fingerprint) |
static void |
setUuidHash(javax.jms.Message message,
int uuidHash)
Sets agent UUID hash on the message.
|
@Nullable public static Integer getUuidHash(javax.jms.Message message)
public static void setUuidHash(javax.jms.Message message, int uuidHash)
public static void setExpensive(javax.jms.Message message, boolean expensive)
ExpensiveMessage
public static boolean isExpensive(javax.jms.Message message)
@Nullable public static Long getInstanceFingerprint(javax.jms.Message message) throws javax.jms.JMSException
javax.jms.JMSException
public static void setFingerprint(javax.jms.Message message, ServerFingerprint fingerprint) throws javax.jms.JMSException
javax.jms.JMSException
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.