Hi,

Can u guide me in implementing the task Queue, I am new to GAE and is
it possible to send/receive messages via Task Queue, I am asking about
message String not an Mail.


Regards,
Suresh

On Dec 17, 11:56 pm, Vik <vik....@gmail.com> wrote:
> Hie
>
> From my GAE code I am calling as
>
> Queue queue = QueueFactory.getDefaultQueue();
> queue.add(withUrl("/vik/sakshum/sakshumweb/server/queue/InviteFriendsQueue"­).param("ids",
> emails.substring(beginIndex, i+1)).method(Method.GET));
>
> and i have a servlet defined as:
>
> package vik.sakshum.sakshumweb.server.queue;
> public class InviteFriendsQueue extends HttpServlet{
>
>  private static final Logger log =
> Logger.getLogger(InviteFriendsQueue.class.getName());
>  public void doGet(HttpServletRequest req,
>  HttpServletResponse resp){
> log.info("Start of doPost InviteFriends");
>  String emails = null;
> if(req.getParameter("ids") != null)
> emails = (String)req.getParameter("ids");
>
> ...
>
> }
>
> But on running I am getting:
>
>    1.
>
>    Exception in execute of InviteFriends
>
>    2.  E2011-12-17 10:50:59.647
>
>    vik.sakshum.sakshumweb.thirdparty.api.CloudSponge.InviteFriends
> doPost: Exception class is :java.lang.IllegalArgumentException
>
>    3.  E2011-12-17 10:50:59.647
>
>    vik.sakshum.sakshumweb.thirdparty.api.CloudSponge.InviteFriends
> doPost: Exception is :Invalud URL :
>
>    Please advise.
>
> Thankx and Regards
>
> Vik
> Founderhttp://www.sakshum.orghttp://blog.sakshum.org

-- 
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 google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to