Joined: 10 Oct 2002 Posts: 136 Location: California
Hi,
I am using Pub/sub with WBI Message broker 5.0 CSD 3. I am publishing a message using Topic and I have two subscribers. One subscriber is without any filters the other one has a content filter using expression Body.XML.MsgBody.Document.MaterialType LIKE 'Text%' . Both the subscriptions are registered with the broker and I can see them in subscriptions tab in broker admin perspective. But I am not getting any messages on subscription queue that has content filter even though the filter condition is satisfied. When I do the trace on the publication flow I can see that it is only publishing to the sub queue that has no filtering. Is there a problem with my filter expression or some other problem?
Joined: 10 Oct 2002 Posts: 136 Location: California
I am able to see the filter expression in content filter section of subscription list but the filtering is not working. One thing that I noticed is that I am trying to set the Msd in the RFH2 header to 'xml' using
SET OutputRoot.MQRFH2.mcd.Msd = 'xml';
But it is not working. When I trace the message it does not show value of 'xml' in RFH2 header. I think that is the reason why filtering is not working too because filter uses expression
Body.XML.MsgBody.Document.MaterialType = 'Text%' and if the message domain is not set to xml then this expression won't work. Has anybody see this type of behaviour?
What is the format(mcd.fmt) of the message set to?. You may need to set that to XML and not the mcd.msd; which will make it a generic XML, unless you want it to.
Joined: 10 Oct 2002 Posts: 136 Location: California
I tried setting the mcd.Fmt to xml but it still does not work. I am not sure why it is not setting mcd.Msd to xml even though I am specifying it in ESQL. I think that is the main problem. I read in documentation that mcd.Fmt is only used for MRM messages. So I think if I can get Msd to work then it will work but as of now it looks to me that it is a bug at WBIMB5.0 CSD3 level.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum