Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Need to set attributes on httpSession while using JMS with Spring

 
Giriraj Bhojak
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic