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 » How to force a backout condition ?

Post new topic  Reply to topic
 How to force a backout condition ? « View previous topic :: View next topic » 
Author Message
iceage
PostPosted: Tue Jan 24, 2012 9:09 am    Post subject: How to force a backout condition ? Reply with quote

Acolyte

Joined: 12 Apr 2006
Posts: 68

Need to simulate backout condition for JMS pub/sub application , i am aware of ways to acheive that outside of JMS (set MQMD.Backoutcount on the MQPUT) , but with JMS JMS_DELIVERY_COUNT property seem to be read-only to cater to JMS specification . Correct me if am wrong here.

There are not many places with in app to make it fail after message is consumed by JMS application , so looking to send a 'backed out' message ..

How does any of you simulate this or suggest some ideas to acheive if at all with in JMS API? (or do i have to resort to techniques of sending backed out message outside of JMS)
Back to top
View user's profile Send private message
zpat
PostPosted: Tue Jan 24, 2012 10:07 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

I am not sure you can set MQMD.Back, but anyway I would get a message in a transacted session and then back it out.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Jan 24, 2012 10:55 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Presumably you're trying to back out a message received by a subscriber?

Rather than, somehow, backing out a message that is being published...

Just throw an exception until the message is backed out?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » How to force a backout condition ?
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.