Petals CDK

Improve notification subscriber support

Details

  • Type: Improvement Request Improvement Request
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 5.0.3
  • Fix Version/s: 5.1
  • Component/s: Notifications
  • Security Level: Public
  • Description:
    Hide

    When a notification subscriber wants to register to receive notifications, it may be possible that the notification broker is not available or that an exception is throwed by the notification engine for multiple reasons.
    It should be possible to configure the subscriber to retry registration N times and it also must be asynchronous to avoid long delays.

    Show
    When a notification subscriber wants to register to receive notifications, it may be possible that the notification broker is not available or that an exception is throwed by the notification engine for multiple reasons. It should be possible to configure the subscriber to retry registration N times and it also must be asynchronous to avoid long delays.
  • Environment:
    All

Issue Links

Activity

Christophe Hamerling made changes - Fri, 27 Aug 2010 - 11:27:09 +0200
Field Original Value New Value
Assignee Mathieu Carrolle [ mcarrolle ] Christophe Hamerling [ chamerling ]
Christophe Hamerling made changes - Fri, 27 Aug 2010 - 11:28:02 +0200
Status New [ 10000 ] Open [ 10002 ]
Priority Major [ 3 ]
Christophe Hamerling made changes - Fri, 27 Aug 2010 - 11:28:09 +0200
Status Open [ 10002 ] In Progress [ 10003 ]
Hide
Christophe Hamerling added a comment - Mon, 30 Aug 2010 - 16:04:32 +0200

This type of operation is generally used in SU listeners on deploy and start. Adding such retry feature means that it must be an asynchronous task and really need more work on the CDK by introducing this asynchronous aspect on the SU manager with callback handlers.
On the other side, a native support of such things (out of SU scope) is potentially a good idea but the CDK also need many work for that; I suggest that we postpone this issue for a future major version of the CDK.

For now (and since the notification is not part of the core CDK API), by getting a reference to AbstractComponent, ones can get the NotificationService instance and get the Sender which can be used as communication channel between the component and the notification layer by abstracting the JBI world.

Show
Christophe Hamerling added a comment - Mon, 30 Aug 2010 - 16:04:32 +0200 This type of operation is generally used in SU listeners on deploy and start. Adding such retry feature means that it must be an asynchronous task and really need more work on the CDK by introducing this asynchronous aspect on the SU manager with callback handlers. On the other side, a native support of such things (out of SU scope) is potentially a good idea but the CDK also need many work for that; I suggest that we postpone this issue for a future major version of the CDK. For now (and since the notification is not part of the core CDK API), by getting a reference to AbstractComponent, ones can get the NotificationService instance and get the Sender which can be used as communication channel between the component and the notification layer by abstracting the JBI world.
Christophe Hamerling made changes - Wed, 1 Sep 2010 - 10:32:29 +0200
Status In Progress [ 10003 ] Resolved [ 10004 ]
Fix Version/s 5.0.4 [ 10077 ]
Resolution Fixed [ 1 ]
Christophe DENEUX made changes - Mon, 6 Sep 2010 - 11:57:11 +0200
Link This issue blocks PETALSSEKPI-13 [ PETALSSEKPI-13 ]
Christophe DENEUX made changes - Fri, 17 Sep 2010 - 10:29:36 +0200
Fix Version/s 5.1 [ 10134 ]
Mathieu Carrolle made changes - Fri, 1 Oct 2010 - 10:11:59 +0200
Fix Version/s 5.0.4 [ 10077 ]
Olivier Fabre made changes - Tue, 23 Nov 2010 - 15:39:15 +0100
Component/s Notifications [ 10120 ]
Transition Status Change Time Execution Times Last Executer Last Execution Date
New New Open Open
1m 14s
1
Christophe Hamerling
Fri, 27 Aug 2010 - 11:28:02 +0200
Open Open In Progress In Progress
7s
1
Christophe Hamerling
Fri, 27 Aug 2010 - 11:28:09 +0200
In Progress In Progress Resolved Resolved
4d 23h 4m
1
Christophe Hamerling
Wed, 1 Sep 2010 - 10:32:29 +0200



People

Dates

  • Created:
    Fri, 27 Aug 2010 - 11:26:48 +0200
    Updated:
    Tue, 23 Nov 2010 - 15:39:15 +0100
    Resolved:
    Wed, 1 Sep 2010 - 10:32:29 +0200