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 » Unable to trigger message into initiation queue

Post new topic  Reply to topic Goto page Previous  1, 2
 Unable to trigger message into initiation queue « View previous topic :: View next topic » 
Author Message
mqjeff
PostPosted: Thu Sep 18, 2008 7:42 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

sudda_1 wrote:
I can write a MDB that's a listener to SYSTEM.ADMIN.PERFM.EVENT queue. The MDB can process the event message and send e-mail to Admin. Does anyone see any issues with this approach?




Just use SupportPac MS0B's classes to process the PCF message you will get.
Back to top
View user's profile Send private message
sudda_1
PostPosted: Thu Sep 18, 2008 11:16 am    Post subject: Reply with quote

Newbie

Joined: 17 Sep 2008
Posts: 8

I would prefer to use Java MDB since it has easy access to J2EE resources like JNDI namespace, JavaMail etc.

So now I'm trying to setup queue depth monitor/notify using performance event framework of MQ.

Here is my problem. I have set queue max depth to 500 and QDEPTHHI to 1. Which means 1% of 500. i.e. if 5 messages arrive it should trigger the event. I added 5 messges to my application queue.

I can see that there are 2 messages in SYSTEM.ADMIN.PERFM.EVENT. However my MDB is not getting invoked.

Is there any reason onMessage() of MDB not getting invoked ? Could it be because SYSTEM.ADMIN.PERFM.EVENT is any internal queue ?
Back to top
View user's profile Send private message
sudda_1
PostPosted: Thu Sep 18, 2008 11:56 am    Post subject: Reply with quote

Newbie

Joined: 17 Sep 2008
Posts: 8

So it is possible to use MDB to listen to the event queue.

See link below.
http://mqseries.net/phpBB/viewtopic.php?p=225381&sid=5671eb9cd72935529013df3715f8a2a3


So why isn't my MDB getting invoked ?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2 Page 2 of 2

MQSeries.net Forum Index » General IBM MQ Support » Unable to trigger message into initiation queue
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.