[ 
https://issues.apache.org/jira/browse/CXF-4261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13260355#comment-13260355
 ] 

Aki Yoshida commented on CXF-4261:
----------------------------------

Hi Dennis,
okay. In that case, could we make this property available to both the source 
and destination configuration?

Not just using this property as the extension to the source's retransmission 
control, 
I would like to also use this same property to configure the message redelivery 
from the destination to the service.

I was going to define the retry policy type within the rm-manager's namespace as
   <xs:complexType name="RetryPolicyType">
       <xs:attribute name="maxRetries" type="xs:int" use="optional"
default="0">
           <xs:annotation>
               <xs:documentation>
                   The maximum number of retries of a message.
                   A value of 0 means the number is unbound.
               </xs:documentation>
           </xs:annotation>
       </xs:attribute>
       <xs:attribute ...
along with some other attributes to control the cxf specific options to deal 
with the retry-exhausted messages.

Then, we can use this element within sourcePolicy and destinationPolicy to 
configure these properties
as in
<wsrm-mgr:sourcePolicy ..>
  ...
  <wsrm-mgr:retryPolicy .../>
and
<wsrm-mgr:destinationPolicy ..>
  ...
  <wsrm-mgr:retryPolicy .../>

I don't know how this fits to your RMP use case. Let me know how you think.

thanks.

regards, aki
                
> Add maxRetries option to WS-RM's retry logic
> --------------------------------------------
>
>                 Key: CXF-4261
>                 URL: https://issues.apache.org/jira/browse/CXF-4261
>             Project: CXF
>          Issue Type: Improvement
>          Components: WS-* Components
>            Reporter: Aki Yoshida
>            Assignee: Aki Yoshida
>
> Currently, the retry in WS-RM (e.g., message retransmission) occurs 
> indefinitely until a certain condition (e.g., receipt of an acknowledgement) 
> is satisfied. In some scenarios, it is useful to limit the number of retries.
> Since there is no standard retry policy parameter, we can introduce a retry 
> policy type that can be used to configure this maxRetries property and other 
> retry-related properties.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to