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 » Condition check with content filter in Publish/Subscriber

Post new topic  Reply to topic
 Condition check with content filter in Publish/Subscriber « View previous topic :: View next topic » 
Author Message
veera_clr
PostPosted: Tue Nov 10, 2009 9:49 pm    Post subject: Condition check with content filter in Publish/Subscriber Reply with quote

Novice

Joined: 12 Oct 2009
Posts: 17

Hi All,

Good Morning,

I am working on publish/subscriber in broker. I have requirement to register the subscribers with content filter. I have done a sample with the following subscriber flow. sample is working fine.

SET OutputRoot.MQRFH2.psc.Command = 'RegSub';
SET OutputRoot.MQRFH2.psc.Topic = 'Topic3';
SET OutputRoot.MQRFH2.psc.RegOpt='PubOnReqOnly';


SET OutputRoot.MQRFH2.psc.QName = 'SUBSCRIBER_QUEUE1';
SET OutputRoot.MQRFH2.psc.Filter = InputRoot.XML.DATA.BUSINESS_SEG LIKE 'S%';


Sample is working fine. When i am subscribing the message with publisher flow.

**But now my requirement is to check the different conditions with input message fields in same filter. Could any of suggest me how to do the condition checking in filter while subscriber register with topic.

Thanks,
Veera

Could you any body
Back to top
View user's profile Send private message
jugo
PostPosted: Tue Nov 17, 2009 7:34 am    Post subject: Reply with quote

Novice

Joined: 17 Nov 2009
Posts: 13

It's not very clear to me what you mean. Perhaps you could expand more or give some examples?

I'm also slightly concerned that your filter expression does not have quotes round it. When building up your subscription message, the filter should just be a string.
Back to top
View user's profile Send private message
AkankshA
PostPosted: Tue Nov 17, 2009 8:30 pm    Post subject: Re: Condition check with content filter in Publish/Subscribe Reply with quote

Grand Master

Joined: 12 Jan 2006
Posts: 1494
Location: Singapore

veera_clr wrote:


SET OutputRoot.MQRFH2.psc.Filter = InputRoot.XML.DATA.BUSINESS_SEG LIKE 'S%';


Sample is working fine. When i am subscribing the message with publisher flow.

**But now my requirement is to check the different conditions with input message fields in same filter. Could any of suggest me how to do the condition checking in filter while subscriber register with topic.

Thanks,
Veera

Could you any body



First thing first... Pls DO NOT use XML domain... its deprecated


now as far as i remember, for content filtering, to be done by broker, the message should be in MRM domain... (though i stand to be correct here)
_________________
Cheers
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Condition check with content filter in Publish/Subscriber
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.