File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -2131,6 +2131,9 @@ The transport has a number of options:
21312131``debug `` (default: ``false ``)
21322132    If ``true `` it logs all HTTP requests and responses (it impacts performance)
21332133
2134+ ``delete_on_rejection `` (default: ``true ``)
2135+     If ``false `` instead of deleting the message on reject it will instead change the visibility allowing SQS to handle retries.
2136+ 
21342137``endpoint `` (default: ``https://sqs.eu-west-1.amazonaws.com ``)
21352138    Absolute URL to the SQS service
21362139
@@ -2149,6 +2152,9 @@ The transport has a number of options:
21492152``region `` (default: ``eu-west-1 ``)
21502153    Name of the AWS region
21512154
2155+ ``retry_delay `` (default: ``0 ``)
2156+     Only used when ``delete_on_rejection `` is set to ``false ``. Defines the visibility timeout sent to SQS when a message is rejected.
2157+ 
21522158``secret_key ``
21532159    AWS secret key (must be urlencoded)
21542160
@@ -2165,6 +2171,10 @@ The transport has a number of options:
21652171
21662172    The ``queue_attributes `` and ``queue_tags `` options were introduced in Symfony 7.3.
21672173
2174+ .. versionadded :: 7.4 
2175+ 
2176+     The ``delete_on_rejection `` and ``retry_delay `` options were introduced in Symfony 7.4.
2177+ 
21682178.. note ::
21692179
21702180    The ``wait_time `` parameter defines the maximum duration Amazon SQS should
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments