routing messages to appropriate channel or messaging port
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > BizTalk Server > BizTalk Server General > routing messages to appropriate channel or messaging port




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    routing messages to appropriate channel or messaging port  


Report This Message To A Moderator Edit/Delete Message


 
02-08-04 01:37 PM

Hi,
I'm new to biztalk.
I have multiple messages for various Organizations collecting in the inbound
MSMQ.  I want to map these messages and place them on the outbound MSMQ -
separate queue for each Org.  What's the best way of doing this?

I probably want to have a single Receive Fxn placing messages on a Channel
which determines which Messaging Port to send to...

Any help is appreciated.

Thanks,

S







[ Post a follow-up to this message ]



    Re: routing messages to appropriate channel or messaging port  
Nick Malik


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-08-04 01:37 PM

Hello,

First off, your channels are tied to the message port (many channels to each
message port).  Therefore, your channel cannot "determine" the message port.
It's the other way around.  You will tell BTS the destination organization
and document type, and it will pick the appropriate channel that will get
that particular document to that particular recipient.

The key is being able to tell, in the recieve function, what destination you
need.  Depending on the type of documents coming in, you may be able to have
Biztalk parse the inbound document and get some information from it to
identify the destination.  Otherwise, you will have to come up with a way of
determining the destination organization through code.

I hope this helps,
--- Nick

<s> wrote in message news:OqToKgX2DHA.1532@TK2MSFTNGP10.phx.gbl...
> Hi,
> I'm new to biztalk.
> I have multiple messages for various Organizations collecting in the
inbound
> MSMQ.  I want to map these messages and place them on the outbound MSMQ -
> separate queue for each Org.  What's the best way of doing this?
>
> I probably want to have a single Receive Fxn placing messages on a Channel
> which determines which Messaging Port to send to...
>
> Any help is appreciated.
>
> Thanks,
>
> S
>
>







[ Post a follow-up to this message ]



    Re: routing messages to appropriate channel or messaging port  


Report This Message To A Moderator Edit/Delete Message


 
02-08-04 01:37 PM

Hi Nick,
The message has Org ID.
Can you help me with details...
Are you talking about setting up multiple receive fxns (rf), each attached
to a channel?
Or, should I set up one rf with with multiple channels?
What about openness settings on rf &/or channel...?

Thanks,
S

"Nick Malik" <nickmalik@hotmail.nospam.com> wrote in message
news:noUMb.41735$Rc4.166433@attbi_s54...
> Hello,
>
> First off, your channels are tied to the message port (many channels to
each
> message port).  Therefore, your channel cannot "determine" the message
port.
> It's the other way around.  You will tell BTS the destination organization
> and document type, and it will pick the appropriate channel that will get
> that particular document to that particular recipient.
>
> The key is being able to tell, in the recieve function, what destination
you
> need.  Depending on the type of documents coming in, you may be able to
have
> Biztalk parse the inbound document and get some information from it to
> identify the destination.  Otherwise, you will have to come up with a way
of
> determining the destination organization through code.
>
> I hope this helps,
> --- Nick
>
> <s> wrote in message news:OqToKgX2DHA.1532@TK2MSFTNGP10.phx.gbl... 
> inbound 
MSMQ - 
Channel 
>
>







[ Post a follow-up to this message ]



    Re: routing messages to appropriate channel or messaging port  
Jan Eliasen


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-08-04 01:38 PM

On Tue, 13 Jan 2004 09:39:49 -0800, <Steve> wrote:

You have a couple of options; For all of them, you need one channel
for each MSMQ you want to write to.

1. Define all possible organizations defined in Messaging Manager.
Then, in the receive function, don't specify the channel to use, but
rather specify documentdefinition and perhaps the
destination-organization. Let BizTalk read the source-organization
from the document and then it will choose the correct channel based on
this information. This will require appropriate qualifiers on each
organization.

2. If the org. id in the document isn't something you can get BizTalk
to read, or if it consists of more than one field, etc. then let
BizTalk put the document into all the channels, and use the "Filter"
on the channels to select the documents that are to be processed in
each channel.

Hope this helped?


>Hi Nick,
>The message has Org ID.
>Can you help me with details...
>Are you talking about setting up multiple receive fxns (rf), each attached
>to a channel?
>Or, should I set up one rf with with multiple channels?
>What about openness settings on rf &/or channel...?
>
>Thanks,
>S
>
>"Nick Malik" <nickmalik@hotmail.nospam.com> wrote in message
>news:noUMb.41735$Rc4.166433@attbi_s54... 
>each 
>port. 
>you 
>have 
>of 
>MSMQ - 
>Channel 
>

--
Jan Eliasen, representing himself and not the company he works for.
MCP in Microsoft BizTalk Server





[ Post a follow-up to this message ]



    Re: routing messages to appropriate channel or messaging port  
Delfin Heras


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-08-04 01:39 PM


There is another possibility here. With this one you only need an msmq
receive function, one channel to an open destination port.
In your message you need to specify the destination q. See the message
below.

<message><data>data_1</data><dest>queue://Direct=OS:victoria\private$\test</
dest></message>

When defining this document you need to go on the directory tab and specify
that the dest tag is the destination value.
The destination q above is private and its name is test. For public q's the
format is different.

best.
d.



"Jan Eliasen" <spam@eliasen.dk> wrote in message
 news:cdhc005h2hn0p6m0p210kbfb4cqjh1570r@
4ax.com...
> On Tue, 13 Jan 2004 09:39:49 -0800, <Steve> wrote:
>
> You have a couple of options; For all of them, you need one channel
> for each MSMQ you want to write to.
>
> 1. Define all possible organizations defined in Messaging Manager.
> Then, in the receive function, don't specify the channel to use, but
> rather specify documentdefinition and perhaps the
> destination-organization. Let BizTalk read the source-organization
> from the document and then it will choose the correct channel based on
> this information. This will require appropriate qualifiers on each
> organization.
>
> 2. If the org. id in the document isn't something you can get BizTalk
> to read, or if it consists of more than one field, etc. then let
> BizTalk put the document into all the channels, and use the "Filter"
> on the channels to select the documents that are to be processed in
> each channel.
>
> Hope this helped?
>
> 
attached 
organization 
get 
destination 
way 
>
> --
> Jan Eliasen, representing himself and not the company he works for.
>   MCP in Microsoft BizTalk Server







[ Post a follow-up to this message ]



    Re: routing messages to appropriate channel or messaging port  
Delfin Heras


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-25-04 08:35 PM


"Delfin Heras" <melancolia7@hotmail.com> wrote in message news:...
>
> There is another possibility here. With this one you only need an msmq
> receive function, one channel to an open destination port.
> In your message you need to specify the destination q. See the message
> below.
>
>
<message><data>data_1</data><dest>queue://Direct=OS:victoria\private$\test</
> dest></message>
>
> When defining this document you need to go on the directory tab and
specify
> that the dest tag is the destination value.
> The destination q above is private and its name is test. For public q's
the
> format is different.
>
> best.
> d.
>
>
>
> "Jan Eliasen" <spam@eliasen.dk> wrote in message
>  news:cdhc005h2hn0p6m0p210kbfb4cqjh1570r@
4ax.com... 
> attached 
to 
message 
> organization 
> get 
> destination 
to 
to 
> way 
the 
>
>







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 11:21 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register