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 » BOQNAME and BOTHRESH not working

Post new topic  Reply to topic
 BOQNAME and BOTHRESH not working « View previous topic :: View next topic » 
Author Message
starfish77
PostPosted: Thu Nov 13, 2003 2:02 pm    Post subject: BOQNAME and BOTHRESH not working Reply with quote

Apprentice

Joined: 07 Nov 2003
Posts: 31
Location: USA

I have altered my local queue to add these 2 attribs. My backout call is working properly, even I see the backout count is getting increased. But this backcount count is even supassing the BOTHRESH I have set. I expect the message to go to BO queue under this scenario. But the message is still in the input queue.
Can anyone please point whats missing here???

Thanks,
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Nov 13, 2003 2:30 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

I don't think the backout/requeue is automatic. I think your application has to do it, itself.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
bob_buxton
PostPosted: Fri Nov 14, 2003 1:50 am    Post subject: Reply with quote

Master

Joined: 23 Aug 2001
Posts: 266
Location: England

I am certain the backout/requeue is not automatic. Your application has to do it, itself

The reference book states
Quote:
Apart from allowing its value to be queried, the queue manager takes no action based on the value of this attribute

_________________
Bob Buxton
Ex-Websphere MQ Development
Back to top
View user's profile Send private message
bower5932
PostPosted: Fri Nov 14, 2003 7:45 am    Post subject: Reply with quote

Jedi Knight

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

There are some sample programs that do backout processing at:

http://www.developer.ibm.com/tech/sampmq.html

Look for backout.c and backout.java.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
techno
PostPosted: Mon Jan 26, 2004 4:20 pm    Post subject: Reply with quote

Chevalier

Joined: 22 Jan 2003
Posts: 429

Does this still hold good? I am using 5.3.

Thanks
Shiva.
Back to top
View user's profile Send private message
kirani
PostPosted: Mon Jan 26, 2004 5:09 pm    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

Yes.
_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

Back to top
View user's profile Send private message Visit poster's website
techno
PostPosted: Tue Jan 27, 2004 9:03 am    Post subject: Reply with quote

Chevalier

Joined: 22 Jan 2003
Posts: 429

Why is it not done automatically? Is there any reason for this? Instead of maintaining in application, the deatils(no. of BO's) are maintained in message itself. This is the only advantage I see with this. It would have been great if the messages are pushed to BOQueue automatically.

Thanks.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue Jan 27, 2004 12:12 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

techno wrote:
Why is it not done automatically? Is there any reason for this? Instead of maintaining in application, the deatils(no. of BO's) are maintained in message itself. This is the only advantage I see with this. It would have been great if the messages are pushed to BOQueue automatically.


The reason why it's not done automatically in all cases is because you may not want it done. There's a lot of different reasons why, but as an example - I may have an application that is breaking a message up into individual transactions, and then processing them. If I get an error with one of the individual transactions, I don't want to roll the whole message back.

In general, it requires that MQSeries be more involved in your application than is strictly necessary. Particularly in the cases of MQClient applications - without the extended transactional support client you don't get two phase commits. So making use of rollback is somewhat limiting on the places where you might want backout processing. And if you're not going to overload rollback to provide backout processing, then you've added another MQSeries verb to perform backout processing. And made everything much much more complicated, for what seems like a simple thing.

It's better left as an application decision, really. But there are application server frameworks that do support automatic rollback (WMQI, for one, probably Workflow - and I think that JMS does at least under some AppServers).
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
bower5932
PostPosted: Tue Jan 27, 2004 2:47 pm    Post subject: Reply with quote

Jedi Knight

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

WAS's embedded JMS (ie, MQ) does have the backout capability. I believe that the threshold is set to 5 for you and you then have the option to configure the ListenerPort's max retries so that a message can be attempted to be delivered more than the 5 (ie 6). The message will then be moved to the backout queue.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » BOQNAME and BOTHRESH not working
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.