Author |
Message
|
dyson |
Posted: Wed Dec 05, 2012 3:05 pm Post subject: MQ content filtering using messages with default namespace |
|
|
 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 |
|
 |
kash3338 |
Posted: Wed Dec 05, 2012 10:55 pm Post subject: Re: MQ content filtering using messages with default namespa |
|
|
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 |
|
 |
Esa |
Posted: Thu Dec 06, 2012 12:55 am Post subject: |
|
|
 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 |
|
 |
mqjeff |
Posted: Thu Dec 06, 2012 4:09 am Post subject: |
|
|
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 |
|
 |
dyson |
Posted: Thu Dec 06, 2012 10:07 am Post subject: |
|
|
 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 |
|
 |
|