activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthew Wong <matt...@coredumps.net>
Subject Message Producer and the Unique ID
Date Sun, 18 Nov 2007 15:46:34 GMT

Hello All,

    my existing webapp works in the following way:

        1. client send a request to my webapp
        2. my webapp insert the request to a PostgreSQL table, get the
sequence.nextval(), as an request ID
        3. my webapp response the client with the request ID

    the client will log the request ID somewhere to a log file.

    later if the client wanna check the status of the request made, we can
reference to that request ID.

    every request made could not be lost, they will be stored in the
database.

    the request ID is currently an unique a big integer.

    do u think it is okay to rewrite my application to use the ActiveMQ?

    how should i handle the request ID?

    is it possible for the producer to get that request ID after it send a
message?

    or is there any other strategy?

--
matt
-- 
View this message in context: http://www.nabble.com/Message-Producer-and-the-Unique-ID-tf4830682s2354.html#a13820358
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message