none
lost messages in wcf custom adapter in inbound RRS feed

Answers

  • Have a look at:

    http://blogs.msdn.com/sonuarora/archive/2007/06/19/transaction-support-in-inbound-message-exchange-handler.aspx

    Sunday, March 23, 2008 11:22 AM

All replies

  • I won't say this is necessarily best practice. However I think there are some samples that help with Asynchronous adapters found in the SDK, and in the LOB Adapter samples found here:

    http://blogs.msdn.com/biztalk_adapter_development/

     

    This is also a good resource to help out with your Oracle adapter work.

     

    I believe best practice is still being compiled from various MS partners who have put these adapters into production.

     

    HTH

     

    Monday, March 17, 2008 7:55 PM
  •  

    I perused that blogs.msdn.com/biztalk_adapter_development site a bit.  There's a link to "Developing a Transactional BizTalk Adapter Using the Microsoft Base Adapter Classes" which talk in-depth about the old BizTalk adapter SDK; nothing about the WCF LOB SDK and its interaction with BizTalk 2006 R2 except brief blurbs at http://blogs.msdn.com/biztalk_adapter_development/archive/2007/08/29/how-the-wcf-lob-adapter-sdk-works-with-ichannelfactory-and-ichannellistener.aspx

     

    Microsoft has no WCF LOB SDK samples past the simplest EchoAdapter sample?!

    Monday, March 17, 2008 8:42 PM
  • There is an adapter pack that you can get from the connect site however you have to be apart of the tap program. this pack used to contain sample code. I'm not sure about it now. Also you can download the pack from MSDN if you have a subscription.

     

    HTH

     

    Monday, March 17, 2008 8:48 PM
  •  

    Are you referring to the adapter pack that contains the MS-written WCF LOB adapters for Oracle, Siebel, and SAP?

     

    Where in this adapter pack does it give programming samples for creating your own WCF custom adapter (with the WCF LOB SDK)  ?

     

    There is, with WCF LOB SDK, under %install_dir%\WCF LOB Adapter SDK\Documents\Samples there is the EchoAdapter and then the ContosoAdapter.  I already know the EchoAdapter well.  The ContosoAdapter has an ContosoAdapterOutboundHandler.cs but no ContosoAdapterInboundHandler.cs

    Monday, March 17, 2008 9:44 PM
  • Yes the WCF LOB adapters for Oracle, Siebel, and SAP, JDE and etc.

     

    This pack doesn't provide the source code, however some of the adapters provide custom functionality and provide an SDK with samples on how to extend the adapters, such as SAP and creating custom RFC's.

     

    As far as whay you're looking for, I was more so think in terms of .net reflecting... You could figure out how to get it done.

     

    HTH

     

    Monday, March 17, 2008 9:53 PM
  • Have a look at:

    http://blogs.msdn.com/sonuarora/archive/2007/06/19/transaction-support-in-inbound-message-exchange-handler.aspx

    Sunday, March 23, 2008 11:22 AM
  • Monday, March 24, 2008 4:10 PM
  • I have seen that setting the "AmbientTransaction" to "True" helped me roll back the transaction thereby not losing the data at all. However, still have problem with deadlocks. Tried setting the "ReadCommitted" property, which didnt help either.


    Thanks & Regards,
    Roopesh Varma

    ________________________________________________________________

    Please remember to click “Mark as Answer” or "Vote As Helpful" on the post that helps you. This can be beneficial to other community members reading the thread.

    Thursday, July 5, 2012 6:48 PM