Re: Push Registry: how to use it?

[email protected] Tue, 29 Jul 2008 09:38:32 PDT
Newsgroups gmane.comp.java.sun.kvm
Message-ID <26399918.40781217349542745.JavaMail.tomcat@sdcst12.sjc.collab.net>
In your notifyIncomingMessage() it gets a MessageConnection object, let's call it inConn.

Message inMsg = inConn.receive();
String text = ((TextMessage)inMsg).getPayloadText();
inConn.close();

give that a try.

-Shawn
[Message sent by forum member 'sfitzjava' (sfitzjava)]

http://forums.java.net/jive/thread.jspa?messageID=290121

===========================================================================
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff KVM-INTEREST".  For general help, send email to
[email protected] and include in the body of the message "help".