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 » MQ content filtering using messages with default namespace

Post new topic  Reply to topic
 MQ content filtering using messages with default namespace « View previous topic :: View next topic » 
Author Message
dyson
PostPosted: Wed Dec 05, 2012 3:05 pm    Post subject: MQ content filtering using messages with default namespace Reply with quote

Apprentice

Joined: 04 Apr 2011
Posts: 45

I'm publishing an xlm message to a couple MQ queues and I'm struggling to setup a subscription with a content filter via rfhutil.

I can get it to work with and with out namespces in the message, but it's failing when I use a default namespace.

Any suggestions, besides not using a default namespace?

thanks.
Back to top
View user's profile Send private message
kash3338
PostPosted: Wed Dec 05, 2012 10:55 pm    Post subject: Re: MQ content filtering using messages with default namespa Reply with quote

Shaman

Joined: 08 Feb 2009
Posts: 709
Location: Chennai, India

dyson wrote:
I'm publishing an xlm message to a couple MQ queues and I'm struggling to setup a subscription with a content filter via rfhutil.


What is the version of WMB? How are you doing the content based filtering? Is it in MQ or MB?

Quote:
WebSphere MQ version 7 supports a limited amount of filtering on the message header and message properties, but can not filter on the body of the message. This is because it can not parse or understand this part of the message.
Back to top
View user's profile Send private message Send e-mail
Esa
PostPosted: Thu Dec 06, 2012 12:55 am    Post subject: Reply with quote

Grand Master

Joined: 22 May 2008
Posts: 1387
Location: Finland

MQ pub/sub doesn't do content based filtering. You need Message Broker for that. You may find useful information here.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Thu Dec 06, 2012 4:09 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Remember that all nodes in an MbMessage tree are always namespace qualified, even when there isn't an explicit namespace prefix.

i.e. if you have a default namespace on a top level element, the child elements still have namespaces attached and need to be accessed via those namespaces.
Back to top
View user's profile Send private message
dyson
PostPosted: Thu Dec 06, 2012 10:07 am    Post subject: Reply with quote

Apprentice

Joined: 04 Apr 2011
Posts: 45

Using WMB 6.1, publishing a topic via the publication node.

I've tried qualifying all fields with namespaces but the rfhutil write fails when a colon is used ':'.
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 » MQ content filtering using messages with default namespace
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.