I have an actor that makes Http call to an external service. At times that services responds with Http 404 and there are also http connection errors at times. Both these goes away when retried again.

What is the best way to retry the request by the actor. 

What i can think of is 

1. Use supervisor strategy and restart actor
2. Use a recursive method in the actor that retries the http call ,
 max-retry count times

Which is the correct approach, 1 or 2. I think approach 1 will be an overkill for something as simple as retrying an Http call. Please share your recommendations.