Package me.ehp246.aufjms.api.jms
Class AufJmsContext
java.lang.Object
me.ehp246.aufjms.api.jms.AufJmsContext
- Since:
- 1.0
- Author:
- Lei Yang
-
Method Summary
Modifier and TypeMethodDescriptionstatic jakarta.jms.SessionRemove the session from the thread if one is present.static jakarta.jms.Sessionstatic voidset(jakarta.jms.Session session)
-
Method Details
-
set
public static void set(jakarta.jms.Session session) -
getSession
public static jakarta.jms.Session getSession() -
clearSession
public static jakarta.jms.Session clearSession()Remove the session from the thread if one is present.- Returns:
- session that is removed. Could be
null.
-