I am trying to route the messages based on the content in the messages. This
is what I have
1) Schema has a root of “MsgRootTestNew” and 2 elements Source, Destination
2) Source is a promoted (using quick promotion)
3) Added a target namespace of http://Schema.TestSchema root of
“MsgRootTestNew” with assembly name of “Schema”
4) Assigned SN key and deployed schema and property schema on to BTS
5) I have send port with transport type of File Port and pipeline as
XMLtransmit
6) I added a filter Schema.Destination == ABC
7) I drop below test XML,
<MsgRootTestNew xmlns="http://Schema.TestSchema">
<Source>SOmeAPP</Source>
<Destination>ABC</Destination>
</MsgRootTestNew>
8) I get an error
A message received by adapter "FILE" on receive location
"POCDynamicRouting_File" with URI "C:\POC\PipelineTest\Input\*.xml" is
suspended.
Error details: The published message could not be routed because no
subscribers were found. This error occurs if the subscribing orchestration or
send port has not been enlisted, or if some of the message properties
necessary for subscription evaluation have not been promoted. Please use the
Biztalk Administration console to troubleshoot this failure.
If I remove the Schema.Destination == ABC and set the filter on the
BTS.ReceivePortName == MyPortName property, Works just fine.
I verified the subscription viewer and it looks good to me. This is what I
see in the subscription Viewer.
http://schemas.microsoft.com/BizTalk/2003/system-properties.SPTransportID ==
{5A3D9A8A-9D97-4166-B1C2-453587A38C8C}
Or
https://Schema.Destination == ABC
Any thoughts?
Thanks
Did you receive the message using a XMLReceive pipeline ?
In another word : check that you have the property 'BTS.MessageType'
into the contexte of the message. If not it means that your message
was not disassembled and that the promotion of the properties is not
done.
David Grospelier
d...@noveli.fr
blog.noveli.fr
On Jun 29, 12:56 am, Kumar <Ku...@discussions.microsoft.com> wrote:
> Hello,
>
> I am trying to route the messages based on the content in the messages. This
> is what I have
> 1) Schema has a root of “MsgRootTestNew” and 2 elements Source, Destination
> 2) Source is a promoted (using quick promotion)
> 3) Added a target namespace ofhttp://Schema.TestSchemaroot of
> “MsgRootTestNew” with assembly name of “Schema”
> 4) Assigned SN key and deployed schema and property schema on to BTS
> 5) I have send port with transport type of File Port and pipeline as
> XMLtransmit
> 6) I added a filter Schema.Destination == ABC
> 7) I drop below test XML,
> <MsgRootTestNew xmlns="http://Schema.TestSchema">
> <Source>SOmeAPP</Source>
> <Destination>ABC</Destination>
> </MsgRootTestNew>
> 8) I get an error
> A message received by adapter "FILE" on receive location
> "POCDynamicRouting_File" with URI "C:\POC\PipelineTest\Input\*.xml" is
> suspended.
> Error details: The published message could not be routed because no
> subscribers were found. This error occurs if the subscribing orchestration or
> send port has not been enlisted, or if some of the message properties
> necessary for subscription evaluation have not been promoted. Please use the
> Biztalk Administration console to troubleshoot this failure.
>
> If I remove the Schema.Destination == ABC and set the filter on the
> BTS.ReceivePortName == MyPortName property, Works just fine.
>
> I verified the subscription viewer and it looks good to me. This is what I
> see in the subscription Viewer.
>
> http://schemas.microsoft.com/BizTalk/2003/system-properties.SPTranspo...==
> {5A3D9A8A-9D97-4166-B1C2-453587A38C8C}
> Orhttps://Schema.Destination== ABC
>
> Any thoughts?
>
> Thanks