Forum Post: RE: Possible to consume all messages off of a sonicmq queue in one go?

  • Thread starter Thomas Mercer-Hursh
  • Start date
Status
Not open for further replies.
T

Thomas Mercer-Hursh

Guest
This seems like a peculiar requirement. If they are logically one message, then send them as one message. If they aren't logically one message, then you would be losing the integrity of the message by consolidating them. I suppose you could use some kind of message aggregation service to bundle them, but again it seems like you would lose integrity and responsiveness. Now, what I can see wanting to do is to have a service which receives the message and then forks a thread to process the message and immediately returns to process the next message. With a single threaded AVM that's a problem, but you can fake it with asynchronous AppServer calls to process the message.

Continue reading...
 
Status
Not open for further replies.
Top