gae xmpp outbound service
- by cometta
currently i create xmppservlet like below
public void doPost(HttpServletRequest req, HttpServletResponse resp)
throws IOException {
JID jid = new JID("u...@jabber.org");
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 u...@jabber.org, i need to send a message to
[email protected] only, will [email protected] send out the message back
to u...@jabber.org. Is there anyway to programatically send out xmpp
message without having u...@jabber.org to initial chat window with
[email protected] and send the first message? This should be consider
outbound-service right?
how to do this?