Posted: Mon May 21, 2007 9:40 pm Post subject: Backout Queue
Apprentice
Joined: 03 May 2007 Posts: 27
I have created a BackOut Queue(Q1) for my Queue (Q2) .Both of them are there in the same Queuemanager(QM). For Q2, I have set Backout QueueName property as Q1 and backoutThreshhold as 1. From my .Net application, when I am getting messages, I deliberatly added an error inthe code so that , when the application is running it will jump in to the exception part, and there I have used Qm.Backout. I debugged the application and as expected the application thrown the exception and QM.Backout happened. Even the backout happened so many times
( I tried the same thing again and again), still my message is there in my Queue Q2. It is not transferred to My backout Queue Q1.
1) Do I have made any other changes in the Settings for this to happen?
2)Imagine the messages came in to BackoutQueue. Is that possible for me to loop through all the messages in Q1 and perform some other actions upon these messages?
Joined: 16 May 2001 Posts: 668 Location: Switzerland
You do the transfer explicitly by PUTting the message on to the backout queue. The backout queue entry in the queue definition only tells the application where to shove it.
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