cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aki Yoshida <elak...@googlemail.com>
Subject Re: [jira] [Commented] (CXF-4261) Add maxRetries option to WS-RM's retry logic
Date Mon, 23 Apr 2012 22:03:08 GMT
Hi Dennis,
okay. In that case, could we make this property available to both the
source and destination configuration?

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 ...

and use it within sourcePolicy and destinationPolicy to configure this
maxRetries property 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. Is it possible?

thanks.

regards, aki

2012/4/23 Dennis Sosnoski (JIRA) <jira@apache.org>:
>
>    [ https://issues.apache.org/jira/browse/CXF-4261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13259962#comment-13259962
]
>
> Dennis Sosnoski commented on CXF-4261:
> --------------------------------------
>
> Would you mind if I take this one, Aki? I've been reworking the policy code for support
of WS-RMP 1.1, and this should fit into those changes.
>
>> 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
>
>

Mime
View raw message