Category: Uncategorized

  • 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…

  • 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/

  • BizTalk rewinds the interchange if exception is throw in send pipeline

    Found an very interesting problem today. It is about a scenario that, In the receive side, we disassemble an inbound interchange by wrapping FF disassembler component, perform some business logic In the send side, we wrap FF assemble component to serialize the message to text then call the middle tier, which will do the validation…

  • BizTalk 2010 Cert

    Passed today. Not a difficult exam, quite fundamental, with no prepare (actually nothing available yet), I got a score of 820. Quite sure I got all EDI and RFID questions wrong