This content has been marked as final. Show 3 replies
There are long discussions on this topic on the following threads...
Re: Message not deleting from Topic after successfully dequeue
Re: SOA Composite dequeue not removing message from the queue.
Hope this helps...
Regarding the AQ stuff.
If you create an empty / aysnc process the dequeueing takes in a different thread and the rest of the processing in a different thread.
So the transactions remain different.
If you need to perform some activity after dequeue and then rollback the message back to the queue (if some error occurs), then make the process as sync.
You would need to modify the wsdls to make so.
Yep just found that out myself.. thanks anyway!
Changed/added the properties bpel.config.transaction=requiresNew and bpel.config.oneWayDeliveryPolicy=sync and
throw a rollback exception when the transaction needs to be rolled back.