public static QueueSession getSessionFrom(Message message) {
return message.getResource(QueueSession.class, "Session");
}
public static HttpSessionContext getSessionContext(Message message) {
HttpSessionContext context = getSessionFrom(message)
.getAttribute(HttpSessionContext.class, HttpSessionContext.class.getName());
if (context == null) {
getSessionFrom(message)
.setAttribute(HttpSessionContext.class.getName(),