currently i create xmppservlet like below
public void doPost(HttpServletRequest req, HttpServletResponse resp)
throws IOException {
JID jid = new JID("[email protected]");
Message msg = new MessageBuilder()
.withRecipientJids(jid)
.withBody("hi Hello i'm a fancy GAE app, how are you?")
.build();
XMPPService xmpp = XMPPServiceFactory.getXMPPService();
SendResponse status = xmpp.sendMessage(msg);
}
by doing this, from [email protected], i need to send a message to
[email protected] only, will [email protected] send out the message back
to [email protected]. Is there anyway to programatically send out xmpp
message without having [email protected] to initial chat window with
[email protected] and send the first message? This should be consider
outbound-service right?
how to do this?
--
You received this message because you are subscribed to the Google Groups
"Google App Engine for Java" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-appengine-java?hl=en.