Resuming Suspended Messages

Last week while teaching the BizTalk Developer Immersion, I was demoing resuming suspended messages using the BizTalk Group Hub. I submitted six messages while my send port was stopped, so all the messages were suspended. I was foolishly trying to show my students that if I resumed the message, it wouldn't be processed because the send port was in a stopped state. I resumed the message and it disappeared, actually, it went out through the send port. This confused me, I had six suspended messages, I resumed one and it was processed so I only had five. But why? I couldn't figure it out, the port is stopped, the message shouldn't be processed but if one went through why not all of them. I was stumped, then it occurred to me. If I were in production there are dozens of scenarios where I could have dozens or hundreds of messages in the MessageBox waiting for my send port to start, but before I actually start it all up, I want to send a few specific messages as a test. By stopping the port I can see all the messages that the port subscribes to and choose which ones should go through. So now I think it's pretty cool.

Whew

Whew

Just finished the main writing stage for the REST book.  Wow books are hard (people
ask me all the time why I dont’ write a book on BizTalk and or WF and sometimes I
forget why – books are hard).

Next week I’m teaching the R2
course for Pluralsight in NY.  Should be fun.  Sam will
be sitting in, so that should add some color to the course ;-).

Also, Monday night I’m doing a talk at the NY Connected
Systems User Group.  Come by if you are in the area. 

 



Check out my BizTalk
R2 Training.

Comma Delimited to Pipe Delimited for Thomson Process

The Thomson system for processing UPS files uses pipe delimited flat files and the UPS generated files are comma delimited. Commas were being replaced with pipes manually and we developed a process that does this automatically. The important part of this was changing the matter field format from the user input to a standard.

The matter field was coming in using the following formats: 99999-01, 99999/01, or 99999.01. They needed to be in the format xxxxx.xxxxx. They would come in all numeric, or alpha-numeric. They were separated by either a (-), (/), or a (.) or a white space.

As an example a Matter Field would come in looking like this:

or or the output needed to be all numeric looking like this (five numbers followed by a period and five more numbers and enclosed in pipes.)

THE LOGIC

If anything came in with something besides a period as a separator we replaced it with a period. If the segment on the left came in with anything less than five numbers we padded it with zeros i.e. 01 -> 00001, anything more than five numbers we trimmed it to five. If the second segment (right of the separator) came in with anything other than numbers i.e. 12345.02bigman, we trimmed the letters and padded the number with 0’s ie 12345.00002.

We also had to deal with fields being populated with commas in the text ie. ,”America Town, USA”,. We set up our BizTalk Program to recognize the the quotes and output |”America Town, USA”|, essentially ignoring any problems with commas in text.

SOAP Adapter – Confusing error with an untrusted Root Certificate Authority

I recently wrote about problems with two-factor authentication and installing a certificate in the correct certificate store. Well, we’ve had similar problems, this time securing the transport link on a SOAP adapter, which resulted in the following error:
Could not establish trust relationship for the SSL/TLS secure channel with authority ’your machine name’. The underlying connection […]

I am really thinking about reviving this blog…

…but not the way it was before.


My Russian blog on Technet is flooded with readers, and I am wondering if I could bring some of that value to English-speaking audience.


First, while I still will publish an occasional technical piece or two, the topics will be much more diverse and more aligned with my interests. Which includes management (no, I don’t want to manage, been there, done that, did not like it, I am just interested in theory), teams dynamics, evolutionary approaches to society and management, corporate parasites (no, that’s not just a rude analogy, that’s a precise term), and an occasional piece or two on other topics from science to my personal adventures.


And, just in case somebody don’t understand it, no Windows Home Server articles. Sorry. When I published my previous article half a year ago, I really meant it. Ciao, Bambino, Sorry. No Windows Home Server for me.

QuickLearn Releases Expert Series Training!

QuickLearn has just released a new series of BizTalk Server 2006 R2 training classes for advanced BizTalk developers. The Expert Series classes provide a drill-down on specific BizTalk features and toolsets that are currently covered only at a high level in our BizTalk Developer Immersion and BizTalk Developer Deep Dive courses. The Expert Series classes are 2-3 days long and cover BAM, RFID, ESB, EDI, BRE, and Testing. You can learn more about these classes here.