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 » General IBM MQ Support » Messages Browsing Utility

Post new topic  Reply to topic
 Messages Browsing Utility « View previous topic :: View next topic » 
Author Message
yadav.neeraj01
PostPosted: Fri Jun 17, 2016 1:31 pm    Post subject: Messages Browsing Utility Reply with quote

Apprentice

Joined: 23 Feb 2011
Posts: 49

Hi Experts....We are using MQ v8... Need to create a script/utility that reads all the messages from a particular system queue(without clearing that) and based on some content of the message a report(txt or excel file) needs to be created.
Which language better suits for this requirement( Java, Perl or shell scripting)??
Back to top
View user's profile Send private message Send e-mail
PaulClarke
PostPosted: Fri Jun 17, 2016 2:53 pm    Post subject: Reply with quote

Grand Master

Joined: 17 Nov 2005
Posts: 1002
Location: New Zealand

Do we have to choose from just those three ?
_________________
Paul Clarke
MQGem Software
www.mqgem.com
Back to top
View user's profile Send private message Visit poster's website
tczielke
PostPosted: Sat Jun 18, 2016 4:50 am    Post subject: Reply with quote

Guardian

Joined: 08 Jul 2010
Posts: 939
Location: Illinois, USA

For tools that I write that have to run on multiple platforms where performance is not a significant requirement, I usually prefer Java. You will have one executable that is portable on all your platforms.
_________________
Working with MQ since 2010.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Mon Jun 20, 2016 4:07 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

I think it would be difficult to get a shell script to read from an MQ Queue.

It's also unclear why you would be browsing messages on a SYSTEM queue.
Which queue? What's the goal? What's the reason for browsing instead of simply getting?
_________________
chmod -R ugo-wx /
Back to top
View user's profile Send private message
yadav.neeraj01
PostPosted: Mon Jun 20, 2016 8:55 am    Post subject: Reply with quote

Apprentice

Joined: 23 Feb 2011
Posts: 49

In Our framework different kinds of messages are getting accumulated in system queue for some certain scenario..we need to browse that queue for payload to check how many messages with similar type are there..[/quote]
Back to top
View user's profile Send private message Send e-mail
bruce2359
PostPosted: Mon Jun 20, 2016 8:59 am    Post subject: Reply with quote

Poobah

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

yadav.neeraj01 wrote:
In Our framework different kinds of messages are getting accumulated in system queue for some certain scenario..we need to browse that queue for payload to check how many messages with similar type are there..

What system queue? Do you mean the dead-letter-queue?
_________________
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
Vitor
PostPosted: Tue Jun 21, 2016 2:43 am    Post subject: Reply with quote

Grand High Poobah

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

yadav.neeraj01 wrote:
In Our framework different kinds of messages are getting accumulated in system queue for some certain scenario..we need to browse that queue for payload to check how many messages with similar type are there..
[/quote]

Your framework should not be using system queues for anything other than system messages. If you've got a build up of system messages you've got a problem.

If the system queue is SYSTEM.DEAD.LETTER.QUEUE:
- use a different queue (!)
- use the supplied dead letter handler
- use any of the free message browsers rather than write your own
_________________
Honesty is the best policy.
Insanity is the best defence.
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 » General IBM MQ Support » Messages Browsing Utility
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.