Title: JMS Temporary Topics, onMessage

Hi

I need to set the reply destination topic of a message. 

I created a temporary topic (Topic tmp = session.createTemporaryTopic()) which did indeed create a topic.
I then created the message and then setJMSReplyTo(tmp), all fine.  When the message was received, the getJMSReplyTo() returns a null object.  Has anyone com across this before, know how to fix it etc.

Also, has anyone else found that onMessage() does not get called automatically when you set an object up as a message listener?

Cheers

Matt

Matt Simmerson
IT Consultant
smart421 - Smart solutions for the 21st century
 
http://www.smart421.com
Wap Site: wap.smart421.com
Tel:   01473 408720
Fax:  01473 408753
Mob: 07759 258083
email: [EMAIL PROTECTED]

Information contained in this e-mail and any attachments is confidential
and intended for the use of the addressee only.  Dissemination,
distribution, copying or use of this communication without prior permission
of the addressee is strictly prohibited. If you have received this
transmission in error, please advise the originator by reply e-mail and
delete it. Thank you.

Reply via email to