ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Content Filtering

Post new topic  Reply to topic
 Content Filtering « View previous topic :: View next topic » 
Author Message
kirank
PostPosted: Tue Apr 25, 2006 1:54 pm    Post subject: Content Filtering Reply with quote

Centurion

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?

Regards

Kiran
Back to top
View user's profile Send private message
narendrach
PostPosted: Fri Apr 28, 2006 11:00 am    Post subject: Reply with quote

Voyager

Joined: 29 Jun 2005
Posts: 78

Could u able to see the filter under FILTER TAB for specified Filter-subscriber in Subscription list

if u can able to see the filter expression in the Subscription list

what is the topic that ur using for subscription

for ex:-
if u specify

topic as: Complaint
Filter as: Body.Message.Complaint.Type='Order'.

this is a sample message that a filter-subscriber can recive if he subscribed for complaint topic - if u publish

<Message>
<CustomerName>
<First>Ed</First>
<Last>Fletcher</Last>
</CustomerName>
<Complaint>
<Type>Order</Type>
<Reference>XYZ123ABC</Reference>
<Text>I placed an order on 15-11-99</Text>
</Complaint>
</Message>
_________________
Narendra CH
Back to top
View user's profile Send private message Yahoo Messenger
kirank
PostPosted: Mon May 01, 2006 3:09 pm    Post subject: Reply with quote

Centurion

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?

Thanks

Kiran
Back to top
View user's profile Send private message
Kateel
PostPosted: Tue May 02, 2006 5:30 am    Post subject: Reply with quote

Novice

Joined: 01 May 2006
Posts: 17

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.
Back to top
View user's profile Send private message
kirank
PostPosted: Tue May 02, 2006 10:31 am    Post subject: Reply with quote

Centurion

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.

Thanks

Kiran
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue May 02, 2006 4:36 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Try setting Properties rather than directly trying to set the RFH2 header.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Content Filtering
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.