Posted: Tue May 11, 2010 6:11 am Post subject: Collector Node 'orphaned' message
Knight
Joined: 14 Apr 2010 Posts: 522 Location: Craggy Island
I can sort of understand why I'm seeing what I am seeing but am not sure if it's strictly what you'd want to happen. Here's the scenario:
I have a collector node with two input terminals called MQ and FILE. Each has a quantity setting of 1. The collection expiry is set to 300 seconds.
A message arrives on MQ and is safely stashed away on SYSTEM.BROKER.EDA.COLLECTIONS queue.
I then (accidentally) redeployed the flow.
After 300 seconds has lapsed nothing has come out of the expire terminal of the collector node. I guess because the redeploy stopped and started the flow and it has lost track of the fact there was a half complete collection.
If another message arrives at MQ this one eventually (after 300 secs) goes down the expire route in the flow as expected. My first message is still stuck in SYSTEM.BROKER.EDA.COLLECTIONS queue.
If a message arrives at the FILE terminal a collection is successfully propagated to the Out terminal of the collector node. I guess because the collector rules are satisfied i.e. one message from MQ and one from FILE.
But really the collection which includes the now very old message from MQ should have expired by now. Or should it? I dunno. Any thoughts? _________________ Never let the facts get in the way of a good theory.
Another thing is, that I would like the message to rolled back. In other words I would like the message to come back on the input queue, should the processing fail. Does this sound as a good idea?
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum