Just tried it and of course the post now returns a 200 instead of 500
response code, but still no message is sent. When I check the logs in the
dashboard, I get a neatly reported stacktrace.
Just to make sure I understood you correctly, here's how I changed my
sendMessage() method:
private void sendMessage(String channelKey, String message) {
ChannelService channelService =
ChannelServiceFactory.getChannelService();
ChannelMessage theMessage = new ChannelMessage(channelKey, message);
try {
channelService.sendMessage(theMessage);
} catch (Exception e) {
logger.error("Error sending message", e);
}
}
Back to the drawing board :(.
--
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.