how can I send message to different queue based on a value in my incoming XML ?
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 > how can I send message to different queue based on a value in my incoming XML ?




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

    how can I send message to different queue based on a value in my incoming XML ?  
John


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


 
06-26-04 03:51 PM

I can send a message to a fixed MSMQ queue but how can I
set it dynamically based on a value in my incoming XML ?
Any suggestion is greatly appreciated.
thanks





[ Post a follow-up to this message ]



    Re: how can I send message to different queue based on a value in my incoming XML ?  
Scott Colestock


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


 
06-26-04 03:51 PM

If you are using orchestration, you can use a distinguished field with the
associated schema, and use it to establish the value of a dynamic port in
your orchestration.

- Scott Colestock

"John" <anonymous@discussions.microsoft.com> wrote in message
 news:2105c01c45a13$a2cda0c0$a101280a@phx
.gbl...
> I can send a message to a fixed MSMQ queue but how can I
> set it dynamically based on a value in my incoming XML ?
> Any suggestion is greatly appreciated.
> thanks







[ Post a follow-up to this message ]



    Re: how can I send message to different queue based on a value in my incoming XML ?  
Kevin Lam [MS]


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


 
06-26-04 03:51 PM

You can use a dynamic send port and set it with a custom receive pipeline
component or from within an orchestration.
From a pipeline component you would need to access the value acting as the
MSMQ path in the document, through XPath for example, set the
BTS.OutboundTransportLocation context property on the message to the MSMQ
send location (e.g. "DIRECT=OS:MyMachine\Private$\MyQueue").
If you are doing it from an orchestration you can make the XML property that
contains the MSMQ path a distinguished property  and set it to
Microsoft.XLANGs.BaseTypes.Address on your orchestration port bound to the
dynamic send port e.g. from within an expression
MyMSMQtPort(Microsoft.XLANGs.BaseTypes.Address) = MyMessage.msmqPath.

-Kevin

--
This posting is provided "AS IS" with no warranties, and confers no rights.
OR if you wish to include a script sample in your post please add "Use of
included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm"
"John" <anonymous@discussions.microsoft.com> wrote in message
 news:2105c01c45a13$a2cda0c0$a101280a@phx
.gbl...
>I can send a message to a fixed MSMQ queue but how can I
> set it dynamically based on a value in my incoming XML ?
> Any suggestion is greatly appreciated.
> thanks







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 03:55 AM.      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