|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
  |
|
Identify a message |
View previous topic :: View next topic |
Author |
Message
|
mjpnet |
Posted: Tue May 15, 2007 2:17 am Post subject: Identify a message |
|
|
Novice
Joined: 09 May 2007 Posts: 15
|
Hi,
Is it possible to find and identify a message by a text string and export only that message to a file? How that could be archived?
Thanks in advance
Regards |
|
Back to top |
|
 |
marcin.kasinski |
Posted: Tue May 15, 2007 2:38 am Post subject: Re: Identify a message |
|
|
Sentinel
Joined: 21 Dec 2004 Posts: 850 Location: Poland / Warsaw
|
mjpnet wrote: |
Hi,
Is it possible to find and identify a message by a text string and export only that message to a file? How that could be archived?
Thanks in advance
Regards |
To identify message you use messageid message field.
Then with this message you can do everything. _________________ Marcin |
|
Back to top |
|
 |
RogerLacroix |
Posted: Tue May 15, 2007 8:15 am Post subject: Re: Identify a message |
|
|
 Jedi Knight
Joined: 15 May 2001 Posts: 3264 Location: London, ON Canada
|
marcin.kasinski wrote: |
To identify message you use messageid message field.
Then with this message you can do everything. |
Hi Marcin,
I think his question was releted to MQ Batch Toolkit.
mjpnet wrote: |
Is it possible to find and identify a message by a text string and export only that message to a file? How that could be archived? |
Hi mjpnet,
Have a look at chapter 4 in the MQ Batch Toolkit User Manual. There is a section on how to use the 'Find a String' command. Also, in the FAQ (Appendix B) see points # 19 & 20 for more information.
Note: MQ Batch Toolkit cannot backup a particular message, but you have 2 options:
- Backup all messages in a queue
- Backup 'x' number of messages and optionally start at a particular message. i.e. Backup 50 messages starting at message number 100.
Be careful, using the second option because the contents of a queue are dynamic, so you may get 50 messages but not necessarily the 50 messages you were expecting.
Regards,
Roger Lacroix
Capitalware Inc. _________________ Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter |
|
Back to top |
|
 |
mjpnet |
Posted: Wed May 16, 2007 12:26 am Post subject: find |
|
|
Novice
Joined: 09 May 2007 Posts: 15
|
Hi
Thank you both for yours replies. Although we had been reading the “find” command, we are not sure to be able to do exactly what we need.
The main idea is: multiple messages are arriving at the same time to a queue, and when a message arrive with an special string we would need to export only that message to a file system.
How could we associate a (mqbt Find + mqbt export) to a specific message?
Thanks once again.
Best regards
mjp |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed May 16, 2007 3:11 am Post subject: Re: find |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
mjpnet wrote: |
Hi
Thank you both for yours replies. Although we had been reading the “find” command, we are not sure to be able to do exactly what we need.
The main idea is: multiple messages are arriving at the same time to a queue, and when a message arrive with an special string we would need to export only that message to a file system.
How could we associate a (mqbt Find + mqbt export) to a specific message?
Thanks once again.
Best regards
mjp |
That's really an application problem and not a tool problem.
Your application (the one consuming the messages from the queue) should take care of this...
Enjoy  _________________ MQ & Broker admin |
|
Back to top |
|
 |
|
|
  |
|
Page 1 of 1 |
|
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
|
|
|
|