You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Created) (JIRA)" <ji...@apache.org> on 2012/04/14 09:32:25 UTC
[jira] [Created] (CAMEL-5170) Add support for delete event in
camel-zookeeper
Add support for delete event in camel-zookeeper
-----------------------------------------------
Key: CAMEL-5170
URL: https://issues.apache.org/jira/browse/CAMEL-5170
Project: Camel
Issue Type: Improvement
Components: camel-zookeeper
Reporter: Claus Ibsen
Fix For: 2.10.0
See nabble
http://camel.465427.n5.nabble.com/Receiving-NodeDeleted-event-using-Camel-s-ZooKeeper-component-tp5630121p5630121.html
We should add support so this event is also triggered in the camel-zookeeper component.
--
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
[jira] [Updated] (CAMEL-5170) Add support for delete event in
camel-zookeeper
Posted by "Arnoud Glimmerveen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-5170?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Arnoud Glimmerveen updated CAMEL-5170:
--------------------------------------
Attachment: CAMEL-5170_v2.patch
Attached a new patch, as the previous patch missed a file.
> Add support for delete event in camel-zookeeper
> -----------------------------------------------
>
> Key: CAMEL-5170
> URL: https://issues.apache.org/jira/browse/CAMEL-5170
> Project: Camel
> Issue Type: Improvement
> Components: camel-zookeeper
> Reporter: Claus Ibsen
> Fix For: 2.10.0
>
> Attachments: CAMEL-5170.patch, CAMEL-5170_v2.patch
>
>
> See nabble
> http://camel.465427.n5.nabble.com/Receiving-NodeDeleted-event-using-Camel-s-ZooKeeper-component-tp5630121p5630121.html
> We should add support so this event is also triggered in the camel-zookeeper component.
--
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
[jira] [Commented] (CAMEL-5170) Add support for delete event in
camel-zookeeper
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-5170?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13263345#comment-13263345 ]
Claus Ibsen commented on CAMEL-5170:
------------------------------------
Is there anything to be added/updated on the documentation?
http://camel.apache.org/zookeeper
> Add support for delete event in camel-zookeeper
> -----------------------------------------------
>
> Key: CAMEL-5170
> URL: https://issues.apache.org/jira/browse/CAMEL-5170
> Project: Camel
> Issue Type: Improvement
> Components: camel-zookeeper
> Reporter: Claus Ibsen
> Assignee: Willem Jiang
> Fix For: 2.10.0
>
> Attachments: CAMEL-5170.patch, CAMEL-5170_v2.patch
>
>
> See nabble
> http://camel.465427.n5.nabble.com/Receiving-NodeDeleted-event-using-Camel-s-ZooKeeper-component-tp5630121p5630121.html
> We should add support so this event is also triggered in the camel-zookeeper component.
--
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
[jira] [Commented] (CAMEL-5170) Add support for delete event in
camel-zookeeper
Posted by "Arnoud Glimmerveen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-5170?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13263398#comment-13263398 ]
Arnoud Glimmerveen commented on CAMEL-5170:
-------------------------------------------
In the *Options* section the new option sendEmptyMessageOnDelete should be documented as follows:
| sendEmptyMessageOnDelete | true | upon the delete of a znode, should an empty message be send to the consumer |
In the *Reading from znode* section the following should be added:
When data is read due to a WatchedEvent received from the ZooKeeper ensemble, the CamelZookeeperEventType header holds ZooKeeper's [EventType|http://zookeeper.apache.org/doc/current/api/org/apache/zookeeper/Watcher.Event.EventType.html] value from that WatchedEvent. If the data is read initially (not triggered by a WatchedEvent) the CamelZookeeperEventType header will not be set.
> Add support for delete event in camel-zookeeper
> -----------------------------------------------
>
> Key: CAMEL-5170
> URL: https://issues.apache.org/jira/browse/CAMEL-5170
> Project: Camel
> Issue Type: Improvement
> Components: camel-zookeeper
> Reporter: Claus Ibsen
> Assignee: Willem Jiang
> Fix For: 2.10.0
>
> Attachments: CAMEL-5170.patch, CAMEL-5170_v2.patch
>
>
> See nabble
> http://camel.465427.n5.nabble.com/Receiving-NodeDeleted-event-using-Camel-s-ZooKeeper-component-tp5630121p5630121.html
> We should add support so this event is also triggered in the camel-zookeeper component.
--
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
[jira] [Resolved] (CAMEL-5170) Add support for delete event in
camel-zookeeper
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-5170?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-5170.
--------------------------------
Resolution: Fixed
Thanks. I have updated the docs
> Add support for delete event in camel-zookeeper
> -----------------------------------------------
>
> Key: CAMEL-5170
> URL: https://issues.apache.org/jira/browse/CAMEL-5170
> Project: Camel
> Issue Type: Improvement
> Components: camel-zookeeper
> Reporter: Claus Ibsen
> Assignee: Willem Jiang
> Fix For: 2.10.0
>
> Attachments: CAMEL-5170.patch, CAMEL-5170_v2.patch
>
>
> See nabble
> http://camel.465427.n5.nabble.com/Receiving-NodeDeleted-event-using-Camel-s-ZooKeeper-component-tp5630121p5630121.html
> We should add support so this event is also triggered in the camel-zookeeper component.
--
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
[jira] [Commented] (CAMEL-5170) Add support for delete event in
camel-zookeeper
Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-5170?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13262377#comment-13262377 ]
Willem Jiang commented on CAMEL-5170:
-------------------------------------
Applied patch with thanks to Arnoud.
> Add support for delete event in camel-zookeeper
> -----------------------------------------------
>
> Key: CAMEL-5170
> URL: https://issues.apache.org/jira/browse/CAMEL-5170
> Project: Camel
> Issue Type: Improvement
> Components: camel-zookeeper
> Reporter: Claus Ibsen
> Assignee: Willem Jiang
> Fix For: 2.10.0
>
> Attachments: CAMEL-5170.patch, CAMEL-5170_v2.patch
>
>
> See nabble
> http://camel.465427.n5.nabble.com/Receiving-NodeDeleted-event-using-Camel-s-ZooKeeper-component-tp5630121p5630121.html
> We should add support so this event is also triggered in the camel-zookeeper component.
--
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
[jira] [Assigned] (CAMEL-5170) Add support for delete event in
camel-zookeeper
Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-5170?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Willem Jiang reassigned CAMEL-5170:
-----------------------------------
Assignee: Willem Jiang
> Add support for delete event in camel-zookeeper
> -----------------------------------------------
>
> Key: CAMEL-5170
> URL: https://issues.apache.org/jira/browse/CAMEL-5170
> Project: Camel
> Issue Type: Improvement
> Components: camel-zookeeper
> Reporter: Claus Ibsen
> Assignee: Willem Jiang
> Fix For: 2.10.0
>
> Attachments: CAMEL-5170.patch, CAMEL-5170_v2.patch
>
>
> See nabble
> http://camel.465427.n5.nabble.com/Receiving-NodeDeleted-event-using-Camel-s-ZooKeeper-component-tp5630121p5630121.html
> We should add support so this event is also triggered in the camel-zookeeper component.
--
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
[jira] [Updated] (CAMEL-5170) Add support for delete event in
camel-zookeeper
Posted by "Arnoud Glimmerveen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-5170?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Arnoud Glimmerveen updated CAMEL-5170:
--------------------------------------
Attachment: CAMEL-5170.patch
This patch adds support for communicating the NodeDeleted event to a Camel route as an empty message (sendEmptyMessageOnDelete flag on the endpoint controls this behaviour, defaulting to true).
In addition a header is added that communicates ZooKeeper's EventType, adding information to the Message describing what sort of ZooKeeper event triggered the Camel route.
> Add support for delete event in camel-zookeeper
> -----------------------------------------------
>
> Key: CAMEL-5170
> URL: https://issues.apache.org/jira/browse/CAMEL-5170
> Project: Camel
> Issue Type: Improvement
> Components: camel-zookeeper
> Reporter: Claus Ibsen
> Fix For: 2.10.0
>
> Attachments: CAMEL-5170.patch
>
>
> See nabble
> http://camel.465427.n5.nabble.com/Receiving-NodeDeleted-event-using-Camel-s-ZooKeeper-component-tp5630121p5630121.html
> We should add support so this event is also triggered in the camel-zookeeper component.
--
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