none
BTS.Operation RRS feed

  • Question

  • I'm trying to dynamically call different stored procs in my database using the WCF-Oracle adapter.  I'm setting the BTS.Operation context property on the outbound message, but it looks like the operation name of the physical send is used to determine the which action to execute in the BTSActionMapping.  Is there a way to dynamically name the operation of my send port?

    Tuesday, August 10, 2010 5:48 PM

Answers

  • Never mind.  I created a custom pipeline component that populates the Operation property and everything works great.  Now instead of having a send port operation for every stored proc operation, I just have 1 send port with all of the BTSActionMappings.
    • Marked as answer by FabWilt Wednesday, August 11, 2010 1:15 PM
    Tuesday, August 10, 2010 8:02 PM

All replies

  • Never mind.  I created a custom pipeline component that populates the Operation property and everything works great.  Now instead of having a send port operation for every stored proc operation, I just have 1 send port with all of the BTSActionMappings.
    • Marked as answer by FabWilt Wednesday, August 11, 2010 1:15 PM
    Tuesday, August 10, 2010 8:02 PM
  • Hi FabWilt,

    I'm kind of having the same issue. How would souce a component look like (code vise)?

     

    Wednesday, November 10, 2010 11:19 AM