BizTalk Server - BTS 2002 question/challenge & BTS 2004 Mapping Question

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server > March 2005 > BTS 2002 question/challenge & BTS 2004 Mapping Question





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 BTS 2002 question/challenge & BTS 2004 Mapping Question
Rich Wallace

2005-03-08, 5:49 pm

Hi all,

My first issue/question has to do with a pooling setup we have in our
architecture...Please bear with me in explaining this scenario, hard to put
in words....easier to write out

I have one receive function monitoring a remote MSMQ that essentially drops
messages that require me to determine which 'division' the message goes to.
I therefore have a pre-processor that wraps the message into a modified XML
message that I read in a router XLANG that sends the message to the desired
local MSMQ....don't ask about the reasoning...long story.

There are seven different divisions, all have their own MSMQ and XLANG
associated to a Pool in the XLANG Schedule Pool, this is in place as I need
to exsure that my messages are delivered in sequential order. The main
issue is, that when I restart the server, and I pick up several messages
from the remote queue and start feeding my individual queues and start
filling the work queue, not all of my XLANGS start running in parallel as
expected, raqhter, the separate Pools are not instantiated until a different
divisional message is encountered in the Work Queue. ( I really hope this
makes sense.) What I'd like to do is, if I nned to restart the server, is
to 'manually' instantiate ALL Pools to make sure that they are all running
and speed up my processing time rahther than have to wait for each pool to
be hit by a message that may be 50th in the work queue. Any ideas on this?
Please feel free to ask questions if I haven't clarified this enough.

Second issue is with BTS 2004....
I have an incoming message that is defined by name/value pairs that I'd like
to convert to elements via a map. Here is the input message structure with
example data and following that is the desired output from the map. Is this
possible?

INPUT MESSAGE:
---------------------------------------------
<Root>
<Product>
<File>F4452</File>
<Detail>
<Details Name="Col1" Value="Val1" />
<Details Name="Col2" Value="Val2" />
</Details>
</Product>
</Root>
---------------------------------------------

DESIRED CONVERTED MESSAGE:
---------------------------------------------
<Root>
<Product>
<File>F4452</File>
<Col1>Val1</Col1>
<Col2>Val2</Col2>
</Product>
</Root>
---------------------------------------------

Thanks all!

-Rich


Matt Milner

2005-03-08, 5:49 pm

On your second question, take a look at the value mapping functoids which
should give you what you want from the map.

matt


"Rich Wallace" <rwallacejr@gmail.dontspamme.com> wrote in message
news:%23jL66q$IFHA.4092@tk2msftngp13.phx.gbl...
> Hi all,
>
> My first issue/question has to do with a pooling setup we have in our
> architecture...Please bear with me in explaining this scenario, hard to
> put
> in words....easier to write out
>
> I have one receive function monitoring a remote MSMQ that essentially
> drops
> messages that require me to determine which 'division' the message goes
> to.
> I therefore have a pre-processor that wraps the message into a modified
> XML
> message that I read in a router XLANG that sends the message to the
> desired
> local MSMQ....don't ask about the reasoning...long story.
>
> There are seven different divisions, all have their own MSMQ and XLANG
> associated to a Pool in the XLANG Schedule Pool, this is in place as I
> need
> to exsure that my messages are delivered in sequential order. The main
> issue is, that when I restart the server, and I pick up several messages
> from the remote queue and start feeding my individual queues and start
> filling the work queue, not all of my XLANGS start running in parallel as
> expected, raqhter, the separate Pools are not instantiated until a
> different
> divisional message is encountered in the Work Queue. ( I really hope this
> makes sense.) What I'd like to do is, if I nned to restart the server, is
> to 'manually' instantiate ALL Pools to make sure that they are all running
> and speed up my processing time rahther than have to wait for each pool to
> be hit by a message that may be 50th in the work queue. Any ideas on
> this?
> Please feel free to ask questions if I haven't clarified this enough.
>
> Second issue is with BTS 2004....
> I have an incoming message that is defined by name/value pairs that I'd
> like
> to convert to elements via a map. Here is the input message structure
> with
> example data and following that is the desired output from the map. Is
> this
> possible?
>
> INPUT MESSAGE:
> ---------------------------------------------
> <Root>
> <Product>
> <File>F4452</File>
> <Detail>
> <Details Name="Col1" Value="Val1" />
> <Details Name="Col2" Value="Val2" />
> </Details>
> </Product>
> </Root>
> ---------------------------------------------
>
> DESIRED CONVERTED MESSAGE:
> ---------------------------------------------
> <Root>
> <Product>
> <File>F4452</File>
> <Col1>Val1</Col1>
> <Col2>Val2</Col2>
> </Product>
> </Root>
> ---------------------------------------------
>
> Thanks all!
>
> -Rich
>
>



Rich Wallace

2005-03-08, 8:46 pm

Thanks Matt!

"Matt Milner" <matt.milner@m3technologypartners dot com> wrote in message
news:eCLLghDJFHA.1860@TK2MSFTNGP15.phx.gbl...
> On your second question, take a look at the value mapping functoids which
> should give you what you want from the map.
>
> matt
>
>
> "Rich Wallace" <rwallacejr@gmail.dontspamme.com> wrote in message
> news:%23jL66q$IFHA.4092@tk2msftngp13.phx.gbl...
as[vbcol=seagreen]
this[vbcol=seagreen]
is[vbcol=seagreen]
running[vbcol=seagreen]
to[vbcol=seagreen]
>
>



Rich Wallace

2005-03-09, 5:50 pm

Hey Matt,

Forgive me, is there anyplace you can point me to that would give me an
example on how to use these? I simply can't grasp how to do this type of
conversion and the documentation only gives me the fact that the functoids
require a true/false scenario. In order to get that true/false, I have to
do some major hard-coded scripting logic that would provide that and that
kind of eliminates the 'ease' of using Maps in my opinion.

Thanks,
-Rich

"Matt Milner" <matt.milner@m3technologypartners dot com> wrote in message
news:eCLLghDJFHA.1860@TK2MSFTNGP15.phx.gbl...
> On your second question, take a look at the value mapping functoids which
> should give you what you want from the map.
>
> matt
>
>
> "Rich Wallace" <rwallacejr@gmail.dontspamme.com> wrote in message
> news:%23jL66q$IFHA.4092@tk2msftngp13.phx.gbl...
as[vbcol=seagreen]
this[vbcol=seagreen]
is[vbcol=seagreen]
running[vbcol=seagreen]
to[vbcol=seagreen]
>
>



Rich Wallace

2005-03-09, 5:50 pm

Please disregard, I found an article on MSDN.

"Rich Wallace" <rwallacejr@gmail.dontspamme.com> wrote in message
news:%23YND1tOJFHA.3528@tk2msftngp13.phx.gbl...
> Hey Matt,
>
> Forgive me, is there anyplace you can point me to that would give me an
> example on how to use these? I simply can't grasp how to do this type of
> conversion and the documentation only gives me the fact that the functoids
> require a true/false scenario. In order to get that true/false, I have to
> do some major hard-coded scripting logic that would provide that and that
> kind of eliminates the 'ease' of using Maps in my opinion.
>
> Thanks,
> -Rich
>
> "Matt Milner" <matt.milner@m3technologypartners dot com> wrote in message
> news:eCLLghDJFHA.1860@TK2MSFTNGP15.phx.gbl...
which[vbcol=seagreen]
to[vbcol=seagreen]
goes[vbcol=seagreen]
modified[vbcol=seagreen]
main[vbcol=seagreen]
messages[vbcol=seagreen]
> as
> this
server,[vbcol=seagreen]
> is
> running
pool[vbcol=seagreen]
> to
I'd[vbcol=seagreen]
Is[vbcol=seagreen]
>
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com