atom feed17 messages in net.java.dev.glassfish.usersRe: How do you poll a Glassfish JMS q...
FromSent OnAttachments
glas...@javadesktop.orgOct 4, 2009 12:49 am 
Felipe GaúchoOct 4, 2009 12:53 am 
glas...@javadesktop.orgOct 4, 2009 1:03 am 
Felipe GaúchoOct 4, 2009 1:40 am 
glas...@javadesktop.orgOct 4, 2009 2:36 am 
VTR Ravi KumarOct 4, 2009 2:47 am 
Felipe GaúchoOct 4, 2009 2:56 am 
glas...@javadesktop.orgOct 4, 2009 7:56 am 
Trond StrømmeOct 5, 2009 2:14 am 
Trond StrømmeOct 5, 2009 2:29 am 
glas...@javadesktop.orgOct 5, 2009 6:26 pm 
glas...@javadesktop.orgOct 6, 2009 3:23 pm 
glas...@javadesktop.orgOct 6, 2009 10:48 pm 
glas...@javadesktop.orgOct 7, 2009 1:32 am 
glas...@javadesktop.orgOct 7, 2009 3:27 am 
glas...@javadesktop.orgOct 7, 2009 4:04 pm 
glas...@javadesktop.orgOct 8, 2009 3:21 pm 
Subject:Re: How do you poll a Glassfish JMS queue say every hour?
From:glas...@javadesktop.org (glas@javadesktop.org)
Date:Oct 4, 2009 2:36:18 am
List:net.java.dev.glassfish.users

Thanks once again Felipe :) You're correct in that it is somewhat similar to
batch-processing. Each message would be executing a specific process and if that
process fails I wish the message to remain within the queue. That way the
message can be read again and only be removed from the queue if that process
runs successfully.

Ideally I'd like to have that process re-tried every hour, hence the queue will
be polled every hour for the messages as opposed for them to be read as soon as
they arrive. If that process is re-tried say x times then it sends a failure
email and removes the message from the queue since the process always fails.
That's the kind of situation I'm trying to setup up.

I might be trying to use JMS in an incorrect way so I'm open to suggestions as
to how I could implement my requirements in a proper way with JMS if my plan is
wrong. I'm quite new to JMS so apologies if my own plan is totally wrong since
I'm getting to grips with it :)

Thanks again.

John [Message sent by forum member 'johnstv' (john@hotmail.com)]

http://forums.java.net/jive/thread.jspa?messageID=366708