Package com.sun.ts.tests.jms.common
Class JmsUtil
java.lang.Object
com.sun.ts.tests.jms.common.JmsUtil
JmsUtil is a final tool class that will provide support for common code for jms tests.
- Author:
- Irene Caruso
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic boolean
static boolean
static boolean
static boolean
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
addPropsToMessage
(jakarta.jms.Message msg, Properties p) used by jms tests to pass cts properties object to mdb to initialize cts logging mechanismstatic void
initHarnessProps
(jakarta.jms.Message msg, Properties p) used by MDB onMessage() to extract cts properties from JMS Message to initialize cts logging mechanismstatic void
sendTestResults
(String testCase, boolean results, jakarta.jms.QueueSession qSession, jakarta.jms.Queue queueR)
-
Field Details
-
test1SecondTime
public static boolean test1SecondTime -
test2SecondTime
public static boolean test2SecondTime -
test2Results
public static boolean test2Results -
test7SecondTime
public static boolean test7SecondTime
-
-
Constructor Details
-
JmsUtil
public JmsUtil()
-
-
Method Details
-
addPropsToMessage
used by jms tests to pass cts properties object to mdb to initialize cts logging mechanism- Parameters:
p
- the Properties objectmsg
- the JMS Message object
-
initHarnessProps
used by MDB onMessage() to extract cts properties from JMS Message to initialize cts logging mechanism- Parameters:
p
- the Properties objectmsg
- the JMS Message object
-
sendTestResults
public static void sendTestResults(String testCase, boolean results, jakarta.jms.QueueSession qSession, jakarta.jms.Queue queueR)
-