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?