|
Home > Archive > BizTalk Server General > October 2004 > Biztalk Server Ports - Send to 2 SendPorts
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Biztalk Server Ports - Send to 2 SendPorts
|
|
| enricosaunders 2004-10-28, 11:56 am |
| HI, All
I would like to use one Receive Port which must be Routed to 2 Send Ports, What is the Easiest way of achieving this?
I am using
Thanks
Enrico
http://www.officesearchengine.com | |
| maverick 2004-10-28, 1:28 pm |
| quote: Originally posted by enricosaunders
HI, All
I would like to use one Receive Port which must be Routed to 2 Send Ports, What is the Easiest way of achieving this?
I am using
Thanks
Enrico
http://www.officesearchengine.com
On the send ports. Set the send pipeline filter to receive from the specific "receive pipleline" | |
| enricosaunders 2004-10-29, 2:31 am |
| quote: Originally posted by maverick
On the send ports. Set the send pipeline filter to receive from the specific "receive pipleline"
Thanks, Maverick
I am already doing that, but that isn't really my issue...
Let me be a bit clearer:
I am trying to Receive 1 Message on a Receive Port, which needs to be routed to 2 different Send Ports. So, I want to receive the file in Biz and then place it in 2 seperate directories.
---
I built a workaround with c# with a file listner which picks up the file from a dir and places it in the 2 directories, but not the nicest solution!
---
Thanks
Enrico
http://www.officesearchengine.co.uk | |
| maverick 2004-10-29, 1:32 pm |
| quote: Originally posted by enricosaunders
Thanks, Maverick
I am already doing that, but that isn't really my issue...
Let me be a bit clearer:
I am trying to Receive 1 Message on a Receive Port, which needs to be routed to 2 different Send Ports. So, I want to receive the file in Biz and then place it in 2 seperate directories.
---
I built a workaround with c# with a file listner which picks up the file from a dir and places it in the 2 directories, but not the nicest solution!
---
Thanks
Enrico
http://www.officesearchengine.co.uk
Did you try using 'port grouping"?
Check this out: Hope this helps:
http://dotnetjunkies.com/WebLog/jly...8/03/21114.aspx | |
| RichTheHSTGuy 2004-10-29, 5:49 pm |
| Using promoted properties find 1 unique, set up a send port for it and add it
to a send port group.
"enricosaunders" wrote:
>
> HI, All
>
> I would like to use one Receive Port which must be Routed to 2 Send
> Ports, What is the Easiest way of achieving this?
>
> I am using
>
> Thanks
> Enrico
> http://www.officesearchengine.com
>
>
>
> --
> enricosaunders
> ------------------------------------------------------------------------
> Posted via http://www.webservertalk.com
> ------------------------------------------------------------------------
> View this thread: http://www.webservertalk.com/message450724.html
>
>
| |
| Ruslan Yakushev [MSFT] 2004-10-29, 8:46 pm |
| Or use the BTS.ReceivePortName == "Name of your recieve port" predicate in
the subscription of each of the ports.
--------------------
>Thread-Topic: Biztalk Server Ports - Send to 2 SendPorts
>thread-index: AcS9vr7A1I8wsdzSQdKl5shH9GkJKQ==
>X-WBNR-Posting-Host: 67.64.36.125
>From: "=?Utf-8?B?UmljaFRoZUhTVEd1eQ==?="
<RichTheHSTGuy@discussions.microsoft.com>
>References: <enricosaunders.1euyx9@mail.webservertalk.com>
>Subject: RE: Biztalk Server Ports - Send to 2 SendPorts
>Date: Fri, 29 Oct 2004 06:54:01 -0700
>Lines: 27
>Message-ID: <8F6C4E61-ACE5-4C0E-ABE6-2E75BAF0C33E@microsoft.com>
>MIME-Version: 1.0
>Content-Type: text/plain;
> charset="Utf-8"
>Content-Transfer-Encoding: 7bit
>X-Newsreader: Microsoft CDO for Windows 2000
>Content-Class: urn:content-classes:message
>Importance: normal
>Priority: normal
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
>Newsgroups: microsoft.public.biztalk.general
>NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
>Path: cpmsftngxa10.phx.gbl!TK2MSFTNGXA03.phx.gbl
>Xref: cpmsftngxa10.phx.gbl microsoft.public.biztalk.general:21139
>X-Tomcat-NG: microsoft.public.biztalk.general
>
>Using promoted properties find 1 unique, set up a send port for it and add
it
>to a send port group.
>
>"enricosaunders" wrote:
>
>
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
Note: For the benefit of the community-at-large, all responses to this
message are best directed to the newsgroup/thread from which they
originated.
| |
| Greg Forsythe 2004-10-29, 8:46 pm |
| Routing in BTS2004 is based on a publish/subscribe model.
A service(Receive Port, Orchestration) will publish a message into the
MessageBox.
Other services (Send Ports, Orchestrations) will subscribe to particular
messages.
There can be multiple subscribers to a single message and each will receive
that message (there is one exception to this - Convoys but that is another
story).
All routing is based on subscription filters including ports bound to
orchestrations and correlated messages. Filters for these subscriptions are
set automatically. A good tool for seeing what is happening here is the
SubscriptionViewer tool found in the SDK/Utilities directory.
The simplest way to output to two directories is the following
Set up ReceivePort1 that receives files and publishes them into the
MessageBox.
Set up SendPort1 and SendPort2 that output into different directories. In
both sendports set the same filter BTS.ReceivePortName == ReceivePort1.
Both sendports will be given a copy of the message and output to the
respective directories.
The subscribers do not have to be the same type. You can have a receive port
(RcvPort) bound to an orchestration and also have a send port with a filter
BTS.ReceivePortName == RcvPort. The messages will be delivered to both the
orchestration and the send port - this is a good mechanism during
development to see the actual messages being delivered to the
orchestration - particularly if it is not working. Remember the subscriber
will receive a message that is the output of the receive pipeline.
Greg
"enricosaunders" <enricosaunders.1euyx9@mail.webservertalk.com> wrote in
message news:enricosaunders.1euyx9@mail.webservertalk.com...
>
> HI, All
>
> I would like to use one Receive Port which must be Routed to 2 Send
> Ports, What is the Easiest way of achieving this?
>
> I am using
>
> Thanks
> Enrico
> http://www.officesearchengine.com
>
>
>
> --
> enricosaunders
> ------------------------------------------------------------------------
> Posted via http://www.webservertalk.com
> ------------------------------------------------------------------------
> View this thread: http://www.webservertalk.com/message450724.html
>
| |
| enricosaunders 2004-10-30, 3:26 pm |
| quote: Originally posted by maverick
On the send ports. Set the send pipeline filter to receive from the specific "receive pipleline"
Thank you guys!
Exactly what I was looking for!!!
Enrico
http://www.officesearchengine.co.uk |
|
|
|
|