You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by "Jens Goldhammer (JIRA)" <ji...@apache.org> on 2008/03/26 10:43:24 UTC

[jira] Created: (SYNAPSE-263) Implementing a message store/ message redelivery

Implementing a message store/ message redelivery
------------------------------------------------

                 Key: SYNAPSE-263
                 URL: https://issues.apache.org/jira/browse/SYNAPSE-263
             Project: Synapse
          Issue Type: New Feature
          Components: Core
    Affects Versions: 1.1, NIGHTLY, 1.1.1-QA-B1, 1.1.1-QA-B2, 1.1.1-QA-B3, 1.1.1
            Reporter: Jens Goldhammer
             Fix For: 1.2


It would be very nice if Synapse would support a message store (dead-letter channel in EIP-book from Hohpe) for messages which cannot be delivered to an endpoint. For more information look at https://wso2.org/jira/browse/ESBJAVA-446

Furthermore it would be nice to have a mechanism for resending messages which could not be delivered for the first time. Maybe it would be nice to have a configuration for the send-mediator.

<send retry="true" maxRetry="3" RetryInterval="1|5|20"/>

This example shows that the send-mediator should retry the sending if it fails for the first time. However, Synapse should retry it for three times (maxRetry) where the interval for retrying is given by parameter RetryInterval. RetryInterval is specified in minutes. The first retry should be made after one minute, the next retry after 5 and the last one after 20 minutes.
If all resending fail, the message will be put into the message store. This enables the admin to resend the message...



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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


[jira] Updated: (SYNAPSE-263) Implementing a message store/ message redelivery

Posted by "Asankha C. Perera (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SYNAPSE-263?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Asankha C. Perera updated SYNAPSE-263:
--------------------------------------

    Fix Version/s:     (was: 1.2)
                   FUTURE

I think we need to spend some time on this to do it right.. and since its a new feature, postponing this for now

> Implementing a message store/ message redelivery
> ------------------------------------------------
>
>                 Key: SYNAPSE-263
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-263
>             Project: Synapse
>          Issue Type: New Feature
>          Components: Core
>    Affects Versions: 1.1, NIGHTLY, 1.1.1-QA-B1, 1.1.1-QA-B2, 1.1.1-QA-B3, 1.1.1
>            Reporter: Jens Goldhammer
>             Fix For: FUTURE
>
>
> It would be very nice if Synapse would support a message store (dead-letter channel in EIP-book from Hohpe) for messages which cannot be delivered to an endpoint. For more information look at https://wso2.org/jira/browse/ESBJAVA-446
> Furthermore it would be nice to have a mechanism for resending messages which could not be delivered for the first time. Maybe it would be nice to have a configuration for the send-mediator.
> <send retry="true" maxRetry="3" RetryInterval="1|5|20"/>
> This example shows that the send-mediator should retry the sending if it fails for the first time. However, Synapse should retry it for three times (maxRetry) where the interval for retrying is given by parameter RetryInterval. RetryInterval is specified in minutes. The first retry should be made after one minute, the next retry after 5 and the last one after 20 minutes.
> If all resending fail, the message will be put into the message store. This enables the admin to resend the message...

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


[jira] Commented: (SYNAPSE-263) Implementing a message store/ message redelivery

Posted by "Jens Goldhammer (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SYNAPSE-263?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12582271#action_12582271 ] 

Jens Goldhammer commented on SYNAPSE-263:
-----------------------------------------

Hello Ruwan,

I think, it would make sense to configure it on the send-mediator because I see the dependency on a certain send-mediator and not on the endpoint itself. If we would do this on endpoint-level and want to reuse endpoints in other sequences, we have no individual configuration possibilites. So you have to specify the same endpoint twice only providing different policies. If you think of a service contract, each interface can have several policies which specify the behaviour of the service. I see similarities to the possibilty in Synapse for enable Security and ReliableMessaging for a certain endpoint. You cannot specify several policies for it. The other question is if there are real use cases for this...

In my eyes, memory persistence is an easy way of starting. I know that there are many discussions how to persist a message in Sandesha2. Maybe  later you can reuse the code for making messages persistent...

> Implementing a message store/ message redelivery
> ------------------------------------------------
>
>                 Key: SYNAPSE-263
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-263
>             Project: Synapse
>          Issue Type: New Feature
>          Components: Core
>    Affects Versions: 1.1, NIGHTLY, 1.1.1-QA-B1, 1.1.1-QA-B2, 1.1.1-QA-B3, 1.1.1
>            Reporter: Jens Goldhammer
>             Fix For: 1.2
>
>
> It would be very nice if Synapse would support a message store (dead-letter channel in EIP-book from Hohpe) for messages which cannot be delivered to an endpoint. For more information look at https://wso2.org/jira/browse/ESBJAVA-446
> Furthermore it would be nice to have a mechanism for resending messages which could not be delivered for the first time. Maybe it would be nice to have a configuration for the send-mediator.
> <send retry="true" maxRetry="3" RetryInterval="1|5|20"/>
> This example shows that the send-mediator should retry the sending if it fails for the first time. However, Synapse should retry it for three times (maxRetry) where the interval for retrying is given by parameter RetryInterval. RetryInterval is specified in minutes. The first retry should be made after one minute, the next retry after 5 and the last one after 20 minutes.
> If all resending fail, the message will be put into the message store. This enables the admin to resend the message...

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


[jira] Closed: (SYNAPSE-263) Implementing a message store/ message redelivery

Posted by "Hiranya Jayathilaka (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SYNAPSE-263?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hiranya Jayathilaka closed SYNAPSE-263.
---------------------------------------

    Resolution: Duplicate

Let's track this using SYNAPSE-618. I'm closing this ticket.

> Implementing a message store/ message redelivery
> ------------------------------------------------
>
>                 Key: SYNAPSE-263
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-263
>             Project: Synapse
>          Issue Type: New Feature
>          Components: Core
>    Affects Versions: 1.1, 1.1.1-QA-B1, 1.1.1-QA-B2, 1.1.1-QA-B3, 1.1.1, NIGHTLY
>            Reporter: Jens Goldhammer
>            Assignee: Hiranya Jayathilaka
>             Fix For: FUTURE
>
>
> It would be very nice if Synapse would support a message store (dead-letter channel in EIP-book from Hohpe) for messages which cannot be delivered to an endpoint. For more information look at https://wso2.org/jira/browse/ESBJAVA-446
> Furthermore it would be nice to have a mechanism for resending messages which could not be delivered for the first time. Maybe it would be nice to have a configuration for the send-mediator.
> <send retry="true" maxRetry="3" RetryInterval="1|5|20"/>
> This example shows that the send-mediator should retry the sending if it fails for the first time. However, Synapse should retry it for three times (maxRetry) where the interval for retrying is given by parameter RetryInterval. RetryInterval is specified in minutes. The first retry should be made after one minute, the next retry after 5 and the last one after 20 minutes.
> If all resending fail, the message will be put into the message store. This enables the admin to resend the message...

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


[jira] Assigned: (SYNAPSE-263) Implementing a message store/ message redelivery

Posted by "Hiranya Jayathilaka (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SYNAPSE-263?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hiranya Jayathilaka reassigned SYNAPSE-263:
-------------------------------------------

    Assignee: Hiranya Jayathilaka

> Implementing a message store/ message redelivery
> ------------------------------------------------
>
>                 Key: SYNAPSE-263
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-263
>             Project: Synapse
>          Issue Type: New Feature
>          Components: Core
>    Affects Versions: 1.1, 1.1.1-QA-B1, 1.1.1-QA-B2, 1.1.1-QA-B3, 1.1.1, NIGHTLY
>            Reporter: Jens Goldhammer
>            Assignee: Hiranya Jayathilaka
>             Fix For: FUTURE
>
>
> It would be very nice if Synapse would support a message store (dead-letter channel in EIP-book from Hohpe) for messages which cannot be delivered to an endpoint. For more information look at https://wso2.org/jira/browse/ESBJAVA-446
> Furthermore it would be nice to have a mechanism for resending messages which could not be delivered for the first time. Maybe it would be nice to have a configuration for the send-mediator.
> <send retry="true" maxRetry="3" RetryInterval="1|5|20"/>
> This example shows that the send-mediator should retry the sending if it fails for the first time. However, Synapse should retry it for three times (maxRetry) where the interval for retrying is given by parameter RetryInterval. RetryInterval is specified in minutes. The first retry should be made after one minute, the next retry after 5 and the last one after 20 minutes.
> If all resending fail, the message will be put into the message store. This enables the admin to resend the message...

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


[jira] Commented: (SYNAPSE-263) Implementing a message store/ message redelivery

Posted by "Rajika Kumarasiri (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SYNAPSE-263?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12861371#action_12861371 ] 

Rajika Kumarasiri commented on SYNAPSE-263:
-------------------------------------------

This feature should be covered once the GSOC project on implementing dead letter channel is completed. 

Rajika

> Implementing a message store/ message redelivery
> ------------------------------------------------
>
>                 Key: SYNAPSE-263
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-263
>             Project: Synapse
>          Issue Type: New Feature
>          Components: Core
>    Affects Versions: 1.1, 1.1.1-QA-B1, 1.1.1-QA-B2, 1.1.1-QA-B3, 1.1.1, NIGHTLY
>            Reporter: Jens Goldhammer
>             Fix For: FUTURE
>
>
> It would be very nice if Synapse would support a message store (dead-letter channel in EIP-book from Hohpe) for messages which cannot be delivered to an endpoint. For more information look at https://wso2.org/jira/browse/ESBJAVA-446
> Furthermore it would be nice to have a mechanism for resending messages which could not be delivered for the first time. Maybe it would be nice to have a configuration for the send-mediator.
> <send retry="true" maxRetry="3" RetryInterval="1|5|20"/>
> This example shows that the send-mediator should retry the sending if it fails for the first time. However, Synapse should retry it for three times (maxRetry) where the interval for retrying is given by parameter RetryInterval. RetryInterval is specified in minutes. The first retry should be made after one minute, the next retry after 5 and the last one after 20 minutes.
> If all resending fail, the message will be put into the message store. This enables the admin to resend the message...

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


[jira] Commented: (SYNAPSE-263) Implementing a message store/ message redelivery

Posted by "Ruwan Linton (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SYNAPSE-263?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12582229#action_12582229 ] 

Ruwan Linton commented on SYNAPSE-263:
--------------------------------------

Jens, I think this has to be on the endpoint level, because the send mediator has no control over the message after it has been forwarded to the transport, but the endpoint does. Basically the endpoint is registered as a fault handler and hence have access to these information, after a delivery failure.

Further we could extend this to persist the dead messages, but as an start on I would like to do this on the in memory level... WDYT? 

> Implementing a message store/ message redelivery
> ------------------------------------------------
>
>                 Key: SYNAPSE-263
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-263
>             Project: Synapse
>          Issue Type: New Feature
>          Components: Core
>    Affects Versions: 1.1, NIGHTLY, 1.1.1-QA-B1, 1.1.1-QA-B2, 1.1.1-QA-B3, 1.1.1
>            Reporter: Jens Goldhammer
>             Fix For: 1.2
>
>
> It would be very nice if Synapse would support a message store (dead-letter channel in EIP-book from Hohpe) for messages which cannot be delivered to an endpoint. For more information look at https://wso2.org/jira/browse/ESBJAVA-446
> Furthermore it would be nice to have a mechanism for resending messages which could not be delivered for the first time. Maybe it would be nice to have a configuration for the send-mediator.
> <send retry="true" maxRetry="3" RetryInterval="1|5|20"/>
> This example shows that the send-mediator should retry the sending if it fails for the first time. However, Synapse should retry it for three times (maxRetry) where the interval for retrying is given by parameter RetryInterval. RetryInterval is specified in minutes. The first retry should be made after one minute, the next retry after 5 and the last one after 20 minutes.
> If all resending fail, the message will be put into the message store. This enables the admin to resend the message...

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org