Author |
Message
|
Remy |
Posted: Thu Aug 06, 2009 7:13 am Post subject: Extract Messages & RFH2 structure |
|
|
Newbie
Joined: 06 Aug 2009 Posts: 3
|
How to extract 25 messages from a Q to edit an XML tag before they are consumed by the application (GET) ?
I guess the back after, just do a PUT on the Q.
What's RFH2 struture ? Do you any informations ? |
|
Back to top |
|
 |
Vitor |
Posted: Thu Aug 06, 2009 7:28 am Post subject: Re: Extract Messages & RFH2 structure |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
Remy wrote: |
How to extract 25 messages from a Q to edit an XML tag before they are consumed by the application (GET) ? |
Use one of the support pacs that do this. Their individual pro and cons have been discussed here; the search facility is your friend.
Remy wrote: |
I guess the back after, just do a PUT on the Q. |
Same pacs will do this.
Remy wrote: |
What's RFH2 struture ? Do you any informations ? |
It's in the documentation, link at the top of this page. Be aware (if you've never met it before) that it's a variable length structure with rules about it's alignment. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
Remy |
Posted: Fri Aug 07, 2009 5:07 am Post subject: |
|
|
Newbie
Joined: 06 Aug 2009 Posts: 3
|
Hi,
About RFH2, i found on WMQ information center.
But about how to extract messages on a file from a Q, i dont found.
Can you provide me the name of SupportPack ?
I know it's possible to do this with the QPasa tool but I do not get it.
Thank you |
|
Back to top |
|
 |
Vitor |
Posted: Fri Aug 07, 2009 7:15 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
Remy wrote: |
But about how to extract messages on a file from a Q, i dont found. |
If you've found the information centre you've found everything there is on extracting messages. Note that you don't extract messages from the queue files, you let the queue manager do that. Not only does it prevent data corruption, it gives you full value from the license fee.
Remy wrote: |
Can you provide me the name of SupportPack ? |
There are at least 2 that can do this, along with the possibility of adapting some of the samples to do this. All depends on what exactly you need, hence my suggestion you review previous discussions.
Remy wrote: |
I know it's possible to do this with the QPasa tool but I do not get it. |
QPasa (if you have it) is probably one of the more friendly ways of achieving this. The support pacs have a less commercial interface (which can of course by an advantage sometimes) _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
Remy |
Posted: Sat Aug 08, 2009 10:29 am Post subject: |
|
|
Newbie
Joined: 06 Aug 2009 Posts: 3
|
My config is WMQ 5.3, W2K3 Server.
I want to :
extract (pull out) 25 messages (data) from a Q on a file
modify a XML Tag on data
re-put messages in the Q.
I checked the supportpack page of WMQ. I dont found supportpack compatible with my config I can use to achieve this |
|
Back to top |
|
 |
Vitor |
Posted: Sat Aug 08, 2009 2:39 pm Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
Remy wrote: |
I checked the supportpack page of WMQ. I dont found supportpack compatible with my config I can use to achieve this |
That's disapointing; I would have thought one of them would have met your requirements.
From that I'd say you'll need a custom application for what you want. Use one of the samples as a basis, and good luck to you. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
fjb_saper |
Posted: Sat Aug 08, 2009 8:22 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
I would have thought that IH03 (RFHUtil/RFHUtilc) would fit your requirement...  _________________ MQ & Broker admin |
|
Back to top |
|
 |
|