Thank you for your answer Viper.
In J3, the $app->redirect(url+msg+msg type) works everywhere. (view/hepler/controller)
In J4 the $app->redirect(url+msg+msg type) not work in controller, error below :
"An error has occurred. 0 You have not supplied a valid HTTP status code"
Based on your answer, in J4 for the redirect works in the controller with $this->setRedirect(url+msg+msg type)
Another different behaviour constated, in J3 the $app->redirect(...) support (url+msg+msg type), not in J4 (url+code redirect).
So based on this, the rules for J4 are :
-> For view/model/helper : $app->redirect(url + code redirect) and set the message system by another way.
-> For the controller : $this->setRedirect(url+msg+msg type)
If anyone have another idea, don't hesitate to share it.
Thank in advance