Re: Determine which receive location a message is received on.
- From: "Tomas Restrepo \(MVP\)" <tomasr@xxxxxxxx>
- Date: Fri, 17 Mar 2006 14:56:04 -0500
Hi Phil,
I have multiple receive locations for a receive port. Is there away of
determine which receive location the message was received on? Where I
received the message from determines where I send the message. Thanks!
I don't think that any one property really specifies the receive location.
At best, you can get the URI of the original message, via the
BTS.InboundTransportLocation, but that doesn't necessarily have to match the
URI of a specific receive location (because some, such as the File adapter,
use wildcards).
I believe that you might be better served here by putting each receive
location in their own receive port, and then using direct binding in your
orchestration's initial receive shape so that it subscribes to messages
coming off any of your receive ports. This is easier because you can then
indeed use the BTS.ReceivePortName property to do your routing if you like.
If each location/port represents a particular business partner/entity that
sent you a message, it might be worthwhile to look into using RoleLinks and
the Party Resolution facilities in BizTalk to help out with the routing, it
might make things easier on you.
--
Tomas Restrepo
tomasr@xxxxxxxx
http://www.winterdom.com/
.
- Follow-Ups:
- Re: Determine which receive location a message is received on.
- From: Greg Forsythe
- Re: Determine which receive location a message is received on.
- Prev by Date: Re: BizTalk 2004 :: Custom adapter question
- Next by Date: BizTalk Server 2004 Tutorial: Module 3 (BAS)
- Previous by thread: BizTalk 2004 :: Custom adapter question
- Next by thread: Re: Determine which receive location a message is received on.
- Index(es):
Relevant Pages
|