none
How to get BTS.SPID or BTS.TransportID and put into the filter criteria of Send port

    Question

  • Hi All,

    How to get BTS.SPID or BTS.TransportID of send port.

    I want put into send port filter criteria to publish the same message another time.

    Regards,
    Saurin
    Wednesday, February 03, 2010 11:47 AM

Answers

  • Okay.

    New approach.

    Stop, but DO NOT unenlist the send port that is send port 1. Send a message through. Once the message is suspended because the send port isstopped, take a look at the promoted properties of the suspended message. Use a combination of those to set up the filter on send port 2.

    eliasen, representing himself and not the company he works for.
    Three times MVP and three times MCTS in BizTalk.
    Blog: http://blog.eliasen.dk
    Wednesday, February 03, 2010 12:34 PM

All replies

  • If you are talking about having more than one send port send out a message, then consider using a send prt group instead?


    eliasen, representing himself and not the company he works for.
    Three times MVP and three times MCTS in BizTalk.
    Blog: http://blog.eliasen.dk
    Wednesday, February 03, 2010 11:49 AM
  • Agree but the send port is under party configuration and I need to send the same messge to another send port. I am not able to use Send port group..I have restriction.

    Wednesday, February 03, 2010 11:51 AM
  • Well. I must say, that a solution hardcoding the ID of the send port into a filter does not sound that great :)

    But if you look at the current subscriptions in groub hub page, you can find the subscription that matches the send port you need to know the ID of, and use that?

    eliasen, representing himself and not the company he works for.
    Three times MVP and three times MCTS in BizTalk.
    Blog: http://blog.eliasen.dk
    Wednesday, February 03, 2010 11:54 AM
  • Hi,  Thanks for your resonse.

    I want to subscibe the one message by send port 2 that subscribe by send port 1.

    It means I need to write filter criteria for send port 2.

    Will you help me for that....
    Wednesday, February 03, 2010 12:23 PM
  • Hi,  Thanks for your resonse.

    I want to subscibe the one message by send port 2 that subscribe by send port 1.

    It means I need to write filter criteria for send port 2.

    Will you help me for that....

    Did you try what I suggested above? Look at the existing subscription for send prt1, since that will include the SPID - copy it form there to your new filter on send port 2.

    eliasen, representing himself and not the company he works for.
    Three times MVP and three times MCTS in BizTalk.
    Blog: http://blog.eliasen.dk
    Wednesday, February 03, 2010 12:26 PM
  • I tried it but it is not working...
    Wednesday, February 03, 2010 12:29 PM
  • Okay.

    New approach.

    Stop, but DO NOT unenlist the send port that is send port 1. Send a message through. Once the message is suspended because the send port isstopped, take a look at the promoted properties of the suspended message. Use a combination of those to set up the filter on send port 2.

    eliasen, representing himself and not the company he works for.
    Three times MVP and three times MCTS in BizTalk.
    Blog: http://blog.eliasen.dk
    Wednesday, February 03, 2010 12:34 PM
  • Hi,

    Declare a correlation set containing BTS.SPID and BTS.TransportID and initialize them in the send shape of your orchestration. Then these promoted context properties become available to your send port filter criteria.
    Please mark as answer if this helps you. Thanks and warm regards Ambar Ray EAI Architect - Microsoft Technologies
    Wednesday, February 03, 2010 1:26 PM
  • Declare a correlation set containing BTS.SPID and BTS.TransportID and initialize them in the send shape of your orchestration. Then these promoted context properties become available to your send port filter criteria.
    The needed properties should already be promoted. Otherwise the real snd port that is used wouldn't be able to find the messages... He just needs to mimic the subscription in send port 2.

    eliasen, representing himself and not the company he works for.
    Three times MVP and three times MCTS in BizTalk.
    Blog: http://blog.eliasen.dk
    Wednesday, February 03, 2010 1:32 PM