This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Distributed Java and the fly likes Need to set attributes on httpSession while using JMS with Spring Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "Need to set attributes on httpSession while using JMS with Spring" Watch "Need to set attributes on httpSession while using JMS with Spring" New topic
Author

Need to set attributes on httpSession while using JMS with Spring

Giriraj Bhojak
Ranch Hand

Joined: Apr 03, 2008
Posts: 71
I am using org.springframework.jms.core.JmsTemplate and org.springframework.jms.listener.DefaultMessageListenerContainer to write and read from MQs.
Once the message is consumed in onMessage, I need to set values on httpSession to indicate successful processing of the request(message).

How do I do that?

I thought of using

But that would mean serializing the complete session while sending the message.
Is there a way I can achieve this? Some listener that would set values on session probably?

Please help me with this.

Thanks,
Giriraj.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Need to set attributes on httpSession while using JMS with Spring
 
Similar Threads
JSTL Help
ending the session of a form?
can I get the request object in managed bean?
Request Object Lost During ActionForward to JSP
Problem in reading cookies