Hi Ulf

thanks for your reply.

> 1) use the newly introduced scheduled message
> delivery feature that will be available in JBoss 3.2.2.
> At the moment, the scheduled delivery has to be initiated
> by the message sender, so this solution is not really
> well suited for you problem.

This could probably solve our problem.
We could add the PROPERTY_SCHEDULED_DELIVERY within a second MDB on the
server ;-)
(not very good but it would be a starting-point ;-) )

Is there any feature planned for server based initiating?

>> I thought about the JBoss TimerService to start and stop the delivering
of
>> messages to achieve time slot behaviour. I can't find any method in the
>> Queue/Topic Management Interface.

> There are no methods in the queue/topic interface for
> that purpose (e.g. start/stop delivery) so far.
> JMS specification does not define such a behaviour.

I just found in JMS 1.2 Spec (4.3.4) - "Pausing Delivery of Incoming
Messages".
The start and stop methods mentioned here are specified within the
Connection Class.
Would it be possible to start/stop the connection to achieve the desired
behaviour?

I think you have to start/stop all connections to a topic/queue, so a method
in the topic/queue interface would be helpful ;-)

FFPX
        Kristian


Kristian K�hler <[EMAIL PROTECTED]>
Gesendet von: [EMAIL PROTECTED]
10.06.2003 11:51
Bitte antworten an jboss-user

        An:        <[EMAIL PROTECTED]>
        Kopie:
        Thema:        [JBoss-user] Delivering Messages within a given time
slot



Hi there

I want to process JMS Messages in a given time slot.

Scenario:
Multiple clients send messages to a certain JMS topic/queue. The messages
must be delivered at a certain time. The posting client is usually unaware
of this time.

How can I configure such a behaviour?

Is there a right way to do this within JMS?

I thought about the JBoss TimerService to start and stop the delivering of
messages to achieve time slot behaviour. I can't find any method in the
Queue/Topic Management Interface.

FFPX
                Kristian ;-)

--
Kristian K�hler
http://www.oio.de



-------------------------------------------------------
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



-------------------------------------------------------
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to