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 » Sending a message causing a rollback to another queue

Post new topic  Reply to topic
 Sending a message causing a rollback to another queue « View previous topic :: View next topic » 
Author Message
dotjas
PostPosted: Wed Aug 28, 2002 12:03 pm    Post subject: Sending a message causing a rollback to another queue Reply with quote

Novice

Joined: 28 Apr 2002
Posts: 14
Location: Madison, WI

We are creating a session bean that will take messages off a queue via JMS and update DB2 with the data found in the message. We are running MQSeries v5.2 and WebSphere v3.5.4 on an NT Server. We anticipate that there will be messages that cannot be processed. Is there a way to have MQ automatically send the message, causing the rollback situation, to another queue? That is, without creating additional methods to send the problem message to another queue, set a flag in MQ to do this for you?
_________________
Jim Schuchardt
Principal Consultant
MQ Certified Specialist
Back to top
View user's profile Send private message Send e-mail
ram_2000
PostPosted: Thu Sep 12, 2002 9:43 pm    Post subject: Reply with quote

Novice

Joined: 29 Mar 2002
Posts: 12
Location: Vancouver, Canada

i'm confused on what you are trying to do (Session bean reading message in a queue...what if the message is not available???...do you wait for the message?....MDBs maybe more suitable for what you are trying to do.)...

Anyways, there is no way to send problem message to another queue automa(g)ically!!! you have code this in your application.
Back to top
View user's profile Send private message
dotjas
PostPosted: Fri Sep 13, 2002 3:04 am    Post subject: Reply with quote

Novice

Joined: 28 Apr 2002
Posts: 14
Location: Madison, WI

Thanks for your input. We have reached the same conclusion that you have (i.e. that routing a problem message to another queue must be done with custom application code).

To answer your earlier question, we have a mechanism in place to start Session Beans when a message arrives in a queue (a.k.a. Triggering, plus other custom infrastructure pieces). We were looking for a way to utilize MQ to route messages that cannot be processed by the Session Bean.

Thanks again..
_________________
Jim Schuchardt
Principal Consultant
MQ Certified Specialist
Back to top
View user's profile Send private message Send e-mail
murugana
PostPosted: Tue Sep 17, 2002 1:52 am    Post subject: Reply with quote

Newbie

Joined: 17 Jul 2001
Posts: 6
Location: singapore

hi ,
check out the backout requeue concept which will help u in geting the backout messages queued up in a seperate queue . this will definitely solve your problem .

cheers
IN MQ V TRUST
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » Sending a message causing a rollback to another 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.