Error: The instance completed without consuming all of its messages.


hi,

have following scenario.

processing messages in sequential way. have 2 orchestration, orch1 has transformation logic , orch2 has sequential processing logic. orch2 directly binded msgbox , receives messages persisted orch1 based on correlating property.
need sort message based on receivedfilename(which date time stamp). in orch2, receiving messages within delay 1min, adding list, sorting messages based on filename , sending destination location 1 one.

getting 1 error in orch2 when frequency high. error says "the instance completed without consuming of messages. instance , unconsumed messages have been suspended. " believe cause be, when orch2 sending 1 batch of sorted messages might have received new messages meanwhile. , so, sorted messages sent orch2 instance completes there new messages still attached orch instance , suspending.

totally not able figure out how can avoid error. don't want terminate suspended message(loss of message :().

in advance
ajeet kumar

i think may using wrong pattern. zombies, no matter how adjust delays. , having fix code overcome errors not idea. alternative approach ordering messages based on filename not susceptible errors better approach:

1. develop custom file adapter (there example in sdk c:\program files\microsoft biztalk server 2006\sdk\samples\adaptersdevelopment\file adapter). adapter perform directory read, order result , generate messages in correct order. approach may not work dependent on how send messages.

2. don't terminate orchestration. implement 2 loops. read convoy messages in loop 1 minute, order result, send output messages , loop again. 


BizTalk Server  >  BizTalk Server General



Comments

Popular posts from this blog

Azure DocumentDB Owner resource does not exist

job syspolicy_purge_history job fail in sqlserver 2008

Trying to register with public marketplace error with 'Get-AzureStackStampInformation'