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 » RFH2 and monitoring profile

Post new topic  Reply to topic
 RFH2 and monitoring profile « View previous topic :: View next topic » 
Author Message
Esa
PostPosted: Thu May 16, 2013 5:16 am    Post subject: RFH2 and monitoring profile Reply with quote

Grand Master

Joined: 22 May 2008
Posts: 1387
Location: Finland

It does not seem possible to send the whole MQRFH2/usr folder in a monitoring event.

Code:
<p:applicationDataQuery>
  <p:complexContent p:name="something">
     <p:payloadQuery p:queryText="$Root/MQRFH2/usr"/>
   </p:complexContent>
</p:applicationDataQuery>


This does not send anything. Maybe it has something to do with this?

Do you need to create a complexContent element for each usr field separately?

I haven't tested yet if you can do even that.

I'm running 8.0.0.1

moderators, please move this to Message Broker forum. I have no idea how I managed to post it here.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Thu May 16, 2013 5:32 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

So moved.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
Esa
PostPosted: Thu May 16, 2013 5:36 am    Post subject: Re: RFH2 and monitoring profile Reply with quote

Grand Master

Joined: 22 May 2008
Posts: 1387
Location: Finland

Esa wrote:

Do you need to create a complexContent element for each usr field separately?


I should have written:

Do you need to create a simpleContent element for each usr field separately?
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu May 16, 2013 5:51 am    Post subject: Re: RFH2 and monitoring profile Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Esa wrote:
Esa wrote:

Do you need to create a complexContent element for each usr field separately?


I should have written:

Do you need to create a simpleContent element for each usr field separately?


I would expect so. Because unless I am mistaken you can only capture fields in the event, not tree snippets. However you could run ASBITSTREAM on the tree snippets and send that information to the environment. I can then be retrieved as a field from the environment....

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Esa
PostPosted: Thu May 16, 2013 6:01 am    Post subject: Re: RFH2 and monitoring profile Reply with quote

Grand Master

Joined: 22 May 2008
Posts: 1387
Location: Finland

fjb_saper wrote:
Because unless I am mistaken you can only capture fields in the event, not tree snippets. However you could run ASBITSTREAM on the tree snippets and send that information to the environment. I can then be retrieved as a field from the environment....


I regret to say, but you are mistaken. You can emit structures with a complexContent definition.

For some reason I'm not able to emit even single fields from MQRHF2/usr with simpleContent.
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu May 16, 2013 6:05 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Remember that under WMQv7 and higher, there's no such thing as an RFH2, just simulations of it within WMB. This may explain why WMB can't see a usr "folder" because it's a list of properties.

I'd raise a PMR. That APAR sounds connected but similar, and IMHO another PMR would either confirm you need that APAR or highlight there's an additional problem in this area.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Esa
PostPosted: Thu May 16, 2013 6:21 am    Post subject: Reply with quote

Grand Master

Joined: 22 May 2008
Posts: 1387
Location: Finland

Sounds funny because the APAR says like this:

APAR IC82100 wrote:
In Monitoring profile, if the event payload section is
selected in order to add a simple field from MQRFH2 header (for
example: $Root/MQRFH2/usr/FILENAME), the generated event will
treat this data field as a complex data. The generated event
will have the field, extracted from the message, contained in
wmb:applicationData/wmb:complexContent field instead of
wmb:applicationData/wmb:simpleContent.


I read this as like you can add data from MQRFH2/usr.

But maybe no RFH2 data is sent any more. That would in fact be a fix to the problem described in the APAR.
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu May 16, 2013 6:42 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Esa wrote:
But maybe no RFH2 data is sent any more. That would in fact be a fix to the problem described in the APAR.


Well there's an MQRFH2 parser in WMBv8 and the InfoCenter describes usr as a folder so you should be able to do what you're describing
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Esa
PostPosted: Thu May 16, 2013 6:56 am    Post subject: Reply with quote

Grand Master

Joined: 22 May 2008
Posts: 1387
Location: Finland

It seems that you need to select 'Use MQRFH2 compact parser for MQRFH2 header' in the MQInput node. I made that change and the flow emitted the usr folder nicely.

Thanks, Vitor. Your link guided me to the right path.
Back to top
View user's profile Send private message
Esa
PostPosted: Thu May 16, 2013 7:44 am    Post subject: Reply with quote

Grand Master

Joined: 22 May 2008
Posts: 1387
Location: Finland

Worked with 8.0.0.2, not with 8.0.0.1...
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 » RFH2 and monitoring profile
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.