« Scribe is ready for Microsoft Dynamics CRM 2011 | Main | Using Web Services for Event-Based Integrations »

12/06/2010

TrackBack

TrackBack URL for this entry:
http://www.typepad.com/services/trackback/6a01156ffa1681970c0147e06d2849970b

Listed below are links to weblogs that reference Message Processors!:

Comments

Feed You can follow this conversation by subscribing to the comment feed for this post.

Hello Brendan. Thanks for the article. Quick question related to Queue Message Processor. I have a Queue process that generates an XML file for each message (the filename is set with the timestamp). I seem to be running into an issue where - since threads run concurrently as you describe - Scribe tries to create multiple files with the same name. (The message I'm seeing is: 20 – msxml3.dll …. The process cannot access the file because it is being used by another process.) So my question is: is there any way to configure the Message Processor so that it avoids this issue?
Thanks
Chris

Thanks for the comment Chris, unfortunately the multi threading is definitely hampering you here, the only way I could guarantee the XML time-stamp issue would go away would be to ratchet the threads down to 2, 1 for queue integrations and 1 for time, file and query integrations. But, to help alleviate the issue, make sure that your DTS is set to have a failure on the XML insert do a End Job Retry. That would throw the message into the retry queue, which would give it a chance to get created with a real unique time-stamp. You would still get the error, but, the XML should get created in one of the retry loops.

Brendan

Ah - i wasn't sending the failure to End Job - that should take care of it. As you say, there will still be failures, but they'll make it before long. if i'm still seeing issues, i'll change the number of threads, but i'd like to leave that where it is so that i don't slow other processes down.
thanks so much for your response.
chris

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Working...
Your comment could not be posted. Error type:
Your comment has been saved. Comments are moderated and will not appear until approved by the author. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.

Working...

Post a comment

Comments are moderated, and will not appear until the author has approved them.

Become a Fan

Scribe Web Site

Search all Scribe Content

Scribe on Twitter

About Scribe

  • Scribe Software Corporation provides cost-effective, no-coding solutions that can be used as the only tool businesses need to integrate virtually any application, data source or Software as a Service (SaaS) platform. Scribe solutions are simple to configure and provide ease of modification as business processes change. They are especially popular among organizations running Microsoft Dynamics CRM, GP, NAV, AX and Sage SalesLogix applications as well as Salesforce.com and Microsoft Dynamics CRM Online.

May 2013

Sun Mon Tue Wed Thu Fri Sat
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31  

Scribe Software