[jira] Created: (CAMEL-706) TransactionErrorHandler - RedeliveryPolicy - Delay not working in all conditions

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (CAMEL-706) TransactionErrorHandler - RedeliveryPolicy - Delay not working in all conditions

JIRA jira@apache.org
TransactionErrorHandler - RedeliveryPolicy - Delay not working in all conditions
--------------------------------------------------------------------------------

                 Key: CAMEL-706
                 URL: https://issues.apache.org/activemq/browse/CAMEL-706
             Project: Apache Camel
          Issue Type: Sub-task
          Components: camel-core, camel-spring
    Affects Versions: 1.4.0
            Reporter: Claus Ibsen
             Fix For: 1.5.0


See the parent issue.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Assigned: (CAMEL-706) TransactionErrorHandler - RedeliveryPolicy - Delay not working in all conditions

JIRA jira@apache.org

     [ https://issues.apache.org/activemq/browse/CAMEL-706?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen reassigned CAMEL-706:
---------------------------------

    Assignee: Claus Ibsen

> TransactionErrorHandler - RedeliveryPolicy - Delay not working in all conditions
> --------------------------------------------------------------------------------
>
>                 Key: CAMEL-706
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-706
>             Project: Apache Camel
>          Issue Type: Sub-task
>          Components: camel-core, camel-spring
>    Affects Versions: 1.4.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 1.5.0
>
>
> See the parent issue.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (CAMEL-706) TransactionErrorHandler - RedeliveryPolicy - Delay not working in all conditions

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

    [ https://issues.apache.org/activemq/browse/CAMEL-706?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=45575#action_45575 ]

Claus Ibsen commented on CAMEL-706:
-----------------------------------

When an exception occur and the TX is rolled back and redelivered then this happends in a new thread and Camel is stateless so we can not 100% determine what the previous condition was for the exchange.

So currently we can only support end-users can configure the *initialRedeliveryDelay*. All other options is not supported in TX mode.

> TransactionErrorHandler - RedeliveryPolicy - Delay not working in all conditions
> --------------------------------------------------------------------------------
>
>                 Key: CAMEL-706
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-706
>             Project: Apache Camel
>          Issue Type: Sub-task
>          Components: camel-core, camel-spring
>    Affects Versions: 1.4.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 1.5.0
>
>
> See the parent issue.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Work started: (CAMEL-706) TransactionErrorHandler - RedeliveryPolicy - Delay not working in all conditions

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

     [ https://issues.apache.org/activemq/browse/CAMEL-706?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on CAMEL-706 started by Claus Ibsen.

> TransactionErrorHandler - RedeliveryPolicy - Delay not working in all conditions
> --------------------------------------------------------------------------------
>
>                 Key: CAMEL-706
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-706
>             Project: Apache Camel
>          Issue Type: Sub-task
>          Components: camel-core, camel-spring
>    Affects Versions: 1.4.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 1.5.0
>
>
> See the parent issue.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (CAMEL-706) TransactionErrorHandler - RedeliveryPolicy - Delay not working in all conditions

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

    [ https://issues.apache.org/activemq/browse/CAMEL-706?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=45576#action_45576 ]

Claus Ibsen commented on CAMEL-706:
-----------------------------------

I am considering changing to not use the RedeliveryPolicy for TX mode, or introducing an TransactedRedeliveryPolicy with fewer options to resemble what end-users can use.

eg: TransactedRedeliveryPolicy  only has redeliveryDelay as an option, and the delay is fixed.

Any thoughts?

> TransactionErrorHandler - RedeliveryPolicy - Delay not working in all conditions
> --------------------------------------------------------------------------------
>
>                 Key: CAMEL-706
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-706
>             Project: Apache Camel
>          Issue Type: Sub-task
>          Components: camel-core, camel-spring
>    Affects Versions: 1.4.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 1.5.0
>
>
> See the parent issue.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (CAMEL-706) TransactionErrorHandler - RedeliveryPolicy - Delay not working in all conditions

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

    [ https://issues.apache.org/activemq/browse/CAMEL-706?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=45594#action_45594 ]

Claus Ibsen commented on CAMEL-706:
-----------------------------------

RedeliveryPolicy extends DelayPolicy
and DelayPolicy only have 1 setting for a fixed delay.

> TransactionErrorHandler - RedeliveryPolicy - Delay not working in all conditions
> --------------------------------------------------------------------------------
>
>                 Key: CAMEL-706
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-706
>             Project: Apache Camel
>          Issue Type: Sub-task
>          Components: camel-core, camel-spring
>    Affects Versions: 1.4.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 1.5.0
>
>
> See the parent issue.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (CAMEL-706) TransactionErrorHandler - RedeliveryPolicy - Delay not working in all conditions

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

    [ https://issues.apache.org/activemq/browse/CAMEL-706?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=45609#action_45609 ]

Claus Ibsen commented on CAMEL-706:
-----------------------------------

code committed, need to update wiki

> TransactionErrorHandler - RedeliveryPolicy - Delay not working in all conditions
> --------------------------------------------------------------------------------
>
>                 Key: CAMEL-706
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-706
>             Project: Apache Camel
>          Issue Type: Sub-task
>          Components: camel-core, camel-spring
>    Affects Versions: 1.4.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 1.5.0
>
>
> See the parent issue.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Resolved: (CAMEL-706) TransactionErrorHandler - RedeliveryPolicy - Delay not working in all conditions

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

     [ https://issues.apache.org/activemq/browse/CAMEL-706?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-706.
-------------------------------

    Resolution: Fixed

Updated wiki as well. See transactional client wiki page.

> TransactionErrorHandler - RedeliveryPolicy - Delay not working in all conditions
> --------------------------------------------------------------------------------
>
>                 Key: CAMEL-706
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-706
>             Project: Apache Camel
>          Issue Type: Sub-task
>          Components: camel-core, camel-spring
>    Affects Versions: 1.4.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 1.5.0
>
>
> See the parent issue.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.