In my Java-web-application I have (with one click) to send about 120 transactions after each other from the same address to the same smartcontract.
My question: is there any java libraries or implemented "retry mechanism" for handling very long pending transactions, or a way to save transactions in a persistent Queue (cause i can't just save them in memory) before sending them to the Blockchain.
Best Answer
Assuming you want to broadcast 120 transactions, but the transaction no 50 gets stuck because it has a low gas price.
You can reconstruct the tx number 50, set a higher gas price and broadcast the new tx.
As long as the sending address and the nonce for tx no 50 are the same, everything else can be different: the amount sent, the type of transaction, etc.