Author |
Message |
Topic: Unable to trigger message into initiation queue |
sudda_1
Replies: 17 Views: 9638
|
Forum: General IBM MQ Support Posted: Thu Sep 18, 2008 11:56 am Subject: Unable to trigger message into initiation queue |
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 getti ... |
Topic: Unable to trigger message into initiation queue |
sudda_1
Replies: 17 Views: 9638
|
Forum: General IBM MQ Support Posted: Thu Sep 18, 2008 11:16 am Subject: Unable to trigger message into initiation queue |
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 framewor ... |
Topic: Unable to trigger message into initiation queue |
sudda_1
Replies: 17 Views: 9638
|
Forum: General IBM MQ Support Posted: Thu Sep 18, 2008 7:31 am Subject: Unable to trigger message into initiation queue |
What happens when the queue is open by the app to consume messages and they arrive so fast the q depth goes over 10? No trigger message.
What happens when the app opens the queue but hangs, and doe ... |
Topic: Unable to trigger message into initiation queue |
sudda_1
Replies: 17 Views: 9638
|
Forum: General IBM MQ Support Posted: Wed Sep 17, 2008 12:44 pm Subject: Unable to trigger message into initiation queue |
I don't see the scenario you mentioned happening.
q depth reaches 10
Trigger puts message in initiation queue (Queue Mgr sets trigger control to OFF)
MDB gets invoked
MDB sends out e-mail to Ad ... |
Topic: Unable to trigger message into initiation queue |
sudda_1
Replies: 17 Views: 9638
|
Forum: General IBM MQ Support Posted: Wed Sep 17, 2008 11:48 am Subject: Unable to trigger message into initiation queue |
OK, I found out the problem.
The MDB was getting called, it was just that I was not handling Byte message structue.
Now once I read the trigger message, send the e-mail I need to reset the tr ... |
Topic: Unable to trigger message into initiation queue |
sudda_1
Replies: 17 Views: 9638
|
Forum: General IBM MQ Support Posted: Wed Sep 17, 2008 10:40 am Subject: Unable to trigger message into initiation queue |
you need as well to use MSOB to reset triggering. Qdepth >1 triggering automatically sets the Q trigger to off when triggering. Enjoy
You are right. When I put the 10th message Q trig ... |
Topic: Unable to trigger message into initiation queue |
sudda_1
Replies: 17 Views: 9638
|
Forum: General IBM MQ Support Posted: Wed Sep 17, 2008 10:19 am Subject: Unable to trigger message into initiation queue |
No one had commented on the use of using Java MDB (Message Driven Bean) as a consumer of my initiion queue. So i assume my approach is correct. |
Topic: Unable to trigger message into initiation queue |
sudda_1
Replies: 17 Views: 9638
|
Forum: General IBM MQ Support Posted: Wed Sep 17, 2008 8:56 am Subject: Unable to trigger message into initiation queue |
I'm trying to achieve the following:
Queue Manager should trigger a message to MY_INITIATION_QUEUE when number of messages in MY_LOCAL_QUEUE reaches 10. A Message Drive Bean(MDB) will be a listener t ... |