CForwardOnlyEventingReadStream not fire read event

Had this problem before, the CForwardOnlyEventingReadStream instance returned from pipeline component does not fire the Read event. After checking Microsoft’s implementation, it turns out my custom stream object has to implement the Position property. After update my custom stream class to return a valid position, the read event is working again.

Notes for BizTalk adapter transactions

  BizTalk deciding if a receive location has transaction support BizTalk deciding which contract to call So, all these said, request-response transaction is not supported. To ensure BizTalk create the inbound transaction, the port must have TransactionFlowBinding element attached.

Interesting behavior writing disassembler component

Have to write a disassembler component to wrap flat file disassembler to disassemble incoming SAP flat file then validate the disassembled XML upon BRE, if validated then promote some properties dynamically and pump individual validated messages to the output stream. I followed the standard template, using a Queue instance to hold the output messages in […]

That evil pipeline component constructor

So it took me almost three hours to find out why my pipeline component does not work correctly in the design time. It turns out its constructor has problem while initialize the enterprise library due to the ESB 2.1 installation. The problem is easy to fix but hard to discover, just a note.

Notes on unit testings

So I refactored the bizunit a bit to allow for the following test step, source code I really like the NUnit.That asserts, look much comfortable compared to the old ones

Delivery notification with dynamic ftp port

These are lesson learnt, scope to set to synchronized once the delivery notification occurs, it seems the orchestration continues its workflow, but it did trigger the exception handler block later if suspend the orchestration after delivery failure, use an orchestration instead of send port to handle the failed routing message, this is based on thread. […]

Dynamically create FTP folder using FTP adapter

So the requirement is to send the thing to FTP folder, it is normally ok to use the FTP adapter but this time the requirement is to create a folder following certain naming convention indicating the timestamp then upload the file to this folder. After poking around for a while, got it working by using […]

Make MLLP two way send work

For the service broker solution I am building, I have to embed in the receive pipeline of the two way MLLP send adapter to poll for the next message. The receive pipeline component is supposed to be triggered by the ACK message. What I find is sometimes the ACK simply not being routed back to […]

Order delivery using SSSB

The messaging only version for MLLP adapter based order delivery scenario. See reference http://appfabriccat.com/2011/02/implementing-end-to-end-ordered-delivery-using-microsoft-biztalk-server-and-sql-server-service-broker-new-whitepaper-on-technet-wiki/

Send port subscribe to another send port

Just a quick note, today I have to deal with a scenario to produce a message from the WCF-SQL response port, route it to another send port to send out to downstream. Everything has to be done using pure messaging. I did having some problems including BizTalk complaining ‘internal error’ while I tried to change […]