Thanks for the answer.
"What do you want it to do when once it has rolled back to the queue?"
Rollback message to queue and composite get message after 5 sec. or 10 sec. and try again invoke ws.
"you can create another queue and define it as an error queue."
How ? How I can catch in mediator soap fault and push message to error queue ?
You don’t need to catch a mediator fault – you can let it rollback to the JMS Queue and let the Queue do the retries.
To get the retries working, log in to the weblogic console and navigate to JMS Modules -> Your Module -> Your Queue -> Configuration -> Delivery Failure
Here you will find options for Redelivery Limit. Set this to the number of retries you need.
Then navigate to the connection factory you want and set the redelivery delay.
This should get your desired behaviour, but once the message has failed it will be discarded. If you prefer to put it on an error queue you can create an error queue, and in the original queue’s, goto Delivery Failure, change the expireation policy and set the Error Destination to be your error queue.
Hope that helps!
I have similar scenario where i used XA transactions. I have configured error queue in the delievery failure tab of normal queue. Transaction is getting rolled back but message is not coming to error queue , instead i am able to see that for rejected messages .dat files are getting created and rejected messageis getting updated to .dat file but not to error queue. Can you please help me out?
In original queue delievery failure tab i have set Expiration policy to be re direct and have given error queue name "ErrorQueue" in Error Destination , Redelievery delay is -1 and re-delievery limit is set to 0.
You can set the retry properties on MQ adapter also.
In Jdeveloper, click on MQ adapter, you will see properties tab on right hand side. Click on Add button and set below properties to make the message retry.
And deploy and test it.
Mark it correct-10 points
Mark it helpful-5 points