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 » IBM MQ Java / JMS » MQ message retry time after a MDB's rollback

Post new topic  Reply to topic
 MQ message retry time after a MDB's rollback « View previous topic :: View next topic » 
Author Message
ophir azulai
PostPosted: Thu May 29, 2008 5:51 am    Post subject: MQ message retry time after a MDB's rollback Reply with quote

Novice

Joined: 29 May 2008
Posts: 13

Hi All,

I'm using MQ 6.0.2.3 with WAS 6.1.0.15 (Latest fixpacks) on Windows and I have the following problem:

When there is a rollback in a MDB, the retry time is exactly 5 seconds and I need less time.

Tried to find how to set it in Websphere MQ Explorer and in the registry and didn't succeed.

Do you know how could I set it ?

Thanks,
Ophir
Back to top
View user's profile Send private message
bower5932
PostPosted: Thu May 29, 2008 6:12 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

Try looking in the admin console. Here is an informative article:

http://www.ibm.com/developerworks/websphere/library/techarticles/0503_bhasin/0503_bhasin.html

and you can search on 'retry' to see the property.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
ophir azulai
PostPosted: Thu May 29, 2008 6:17 am    Post subject: Reply with quote

Novice

Joined: 29 May 2008
Posts: 13

Thanks!
Back to top
View user's profile Send private message
bower5932
PostPosted: Thu May 29, 2008 6:22 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

I may have misspoke on the earlier article. If it doesn't give you what you want, try this one:

http://www.ibm.com/developerworks/websphere/library/techarticles/0803_titheridge/0803_titheridge.html

You can search for '5 seconds' and probably find what you are looking for.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
ophir azulai
PostPosted: Thu May 29, 2008 7:20 am    Post subject: Reply with quote

Novice

Joined: 29 May 2008
Posts: 13

Hi,

Looked at it and found that it explains how to configure it in the default messaging provider and not MQ.

Thanks.
Ophir
Back to top
View user's profile Send private message
ophir azulai
PostPosted: Fri Jul 04, 2008 11:17 pm    Post subject: The solution Reply with quote

Novice

Joined: 29 May 2008
Posts: 13

Hi All,

The solution which was found is:
1. In the queue manager properties:
1.1. Disable online monitoring
1.2. Disable statistics monitoring
1.3. Disable accounting monitoring
2. In queue manager->advanced->channels->'channel'->statistics
2.1 Set channel monitoring to off

Thanks,
Ophir
Back to top
View user's profile Send private message
ophir azulai
PostPosted: Sat Jul 05, 2008 11:26 am    Post subject: A workaround for a specific case Reply with quote

Novice

Joined: 29 May 2008
Posts: 13

Hi,

I'm sorry but the previous solution is for another post on this forum
http://www.mqseries.net/phpBB2/viewtopic.php?t=44072

Regarding this issue, I did a comprehensive search and could not find how to configure it. Hope it will change in MQ 7.

However I would like to propose the following workaround:

1. If the MDB1 has only one insert/update/delete operation then if there is a JMS exception on this operation then in the catch the message can be sent to another queue where a MDB2 is listening.
2. The two MDBs are doing the same thing but they send the message in the catch to the other MDB.
3. If a delay is needed then sleep(time) can be called before sending the message (it works in WAS)

Your feedback on this will be welcomed.

Thanks,
Ophir
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Sun Jul 06, 2008 2:19 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

I believe the delay is in the MDB config. You should check it.

Could be that the poll rate is every 5 seconds?
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » MQ message retry time after a MDB's rollback
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.