You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Straube (JIRA)" <ji...@apache.org> on 2011/05/03 12:30:03 UTC

[jira] [Created] (CAMEL-3935) camel-hazelcast idempotent repository

camel-hazelcast idempotent repository 
--------------------------------------

                 Key: CAMEL-3935
                 URL: https://issues.apache.org/jira/browse/CAMEL-3935
             Project: Camel
          Issue Type: Improvement
    Affects Versions: 2.8.0
            Reporter: Claus Straube
            Priority: Minor
             Fix For: 2.8.0


As Hazelcast is a distributed data grid, it would be useful to use it as idempotent repository. Despite to the plain in memory repository it can act as idempotent repository over n cluster nodes with very few effort.   

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CAMEL-3935) camel-hazelcast idempotent repository

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-3935?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13029282#comment-13029282 ] 

Claus Ibsen commented on CAMEL-3935:
------------------------------------

Thanks for the patch.

I wonder if the key you use for the IMap is the convention to use (eg a dash). Maybe use a getClass().getName() ?
Also maybe it should be possible to configure that name, so you can have multiple independent repos.

And it would be nice if you could cleanup the code a bit, eg remove the empty lines. And run a checkstyle check as well.
http://camel.apache.org/building.html

> camel-hazelcast idempotent repository 
> --------------------------------------
>
>                 Key: CAMEL-3935
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3935
>             Project: Camel
>          Issue Type: Improvement
>            Reporter: Claus Straube
>            Priority: Minor
>             Fix For: 2.8.0
>
>         Attachments: hazelcast_idempotent_repository.diff
>
>
> As Hazelcast is a distributed data grid, it would be useful to use it as idempotent repository. Despite to the plain in memory repository it can act as idempotent repository over n cluster nodes with very few effort.   

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CAMEL-3935) camel-hazelcast idempotent repository

Posted by "Claus Straube (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-3935?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13036134#comment-13036134 ] 

Claus Straube commented on CAMEL-3935:
--------------------------------------

Thank you. Should I add the more detailed documentation (sample, etc.) on the EIP site or on the component site (with a link from the EIP site)?

My student made yesterday a tutorial using the idempotent consumer pattern with camel-hazelcast on a two node cluster inside karaf. Can I add this simply to the tutorials site as well?   

> camel-hazelcast idempotent repository 
> --------------------------------------
>
>                 Key: CAMEL-3935
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3935
>             Project: Camel
>          Issue Type: New Feature
>            Reporter: Claus Straube
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.8.0
>
>         Attachments: hazelcast_idempotent_repository.diff, hazelcast_idempotent_repository_02.diff, hazelcast_idempotent_repository_03.diff, hazelcast_idempotent_repository_04.diff
>
>
> As Hazelcast is a distributed data grid, it would be useful to use it as idempotent repository. Despite to the plain in memory repository it can act as idempotent repository over n cluster nodes with very few effort.   

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Assigned] (CAMEL-3935) camel-hazelcast idempotent repository

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

Claus Ibsen reassigned CAMEL-3935:
----------------------------------

    Assignee: Claus Ibsen

> camel-hazelcast idempotent repository 
> --------------------------------------
>
>                 Key: CAMEL-3935
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3935
>             Project: Camel
>          Issue Type: New Feature
>            Reporter: Claus Straube
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.8.0
>
>         Attachments: hazelcast_idempotent_repository.diff, hazelcast_idempotent_repository_02.diff, hazelcast_idempotent_repository_03.diff, hazelcast_idempotent_repository_04.diff
>
>
> As Hazelcast is a distributed data grid, it would be useful to use it as idempotent repository. Despite to the plain in memory repository it can act as idempotent repository over n cluster nodes with very few effort.   

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (CAMEL-3935) camel-hazelcast idempotent repository

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

Claus Ibsen updated CAMEL-3935:
-------------------------------

    Affects Version/s:     (was: 2.8.0)
           Issue Type: New Feature  (was: Improvement)

> camel-hazelcast idempotent repository 
> --------------------------------------
>
>                 Key: CAMEL-3935
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3935
>             Project: Camel
>          Issue Type: New Feature
>            Reporter: Claus Straube
>            Priority: Minor
>             Fix For: 2.8.0
>
>         Attachments: hazelcast_idempotent_repository.diff
>
>
> As Hazelcast is a distributed data grid, it would be useful to use it as idempotent repository. Despite to the plain in memory repository it can act as idempotent repository over n cluster nodes with very few effort.   

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CAMEL-3935) camel-hazelcast idempotent repository

Posted by "Claus Straube (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-3935?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13029288#comment-13029288 ] 

Claus Straube commented on CAMEL-3935:
--------------------------------------

It's a good idea to have a configurable name to allow multiple repositories. I'll change that.

The code should fit to the camel check style. I used the check style rules in the 'buildingtools' folder with the checkstyle plugin - there's no violation. Anyways I can kick out some empty lines.   

> camel-hazelcast idempotent repository 
> --------------------------------------
>
>                 Key: CAMEL-3935
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3935
>             Project: Camel
>          Issue Type: New Feature
>            Reporter: Claus Straube
>            Priority: Minor
>             Fix For: 2.8.0
>
>         Attachments: hazelcast_idempotent_repository.diff
>
>
> As Hazelcast is a distributed data grid, it would be useful to use it as idempotent repository. Despite to the plain in memory repository it can act as idempotent repository over n cluster nodes with very few effort.   

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (CAMEL-3935) camel-hazelcast idempotent repository

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

Claus Straube updated CAMEL-3935:
---------------------------------

    Attachment: hazelcast_idempotent_repository_02.diff

Changed the implementation so that a repository name can be set (default is the canonical class name of the implementation class). Changed version of Hazelcast to 1.9.3. Checked code against the camel rules, deleted some empty lines.

> camel-hazelcast idempotent repository 
> --------------------------------------
>
>                 Key: CAMEL-3935
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3935
>             Project: Camel
>          Issue Type: New Feature
>            Reporter: Claus Straube
>            Priority: Minor
>             Fix For: 2.8.0
>
>         Attachments: hazelcast_idempotent_repository.diff, hazelcast_idempotent_repository_02.diff
>
>
> As Hazelcast is a distributed data grid, it would be useful to use it as idempotent repository. Despite to the plain in memory repository it can act as idempotent repository over n cluster nodes with very few effort.   

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (CAMEL-3935) camel-hazelcast idempotent repository

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

Claus Ibsen resolved CAMEL-3935.
--------------------------------

    Resolution: Fixed

> camel-hazelcast idempotent repository 
> --------------------------------------
>
>                 Key: CAMEL-3935
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3935
>             Project: Camel
>          Issue Type: New Feature
>            Reporter: Claus Straube
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.8.0
>
>         Attachments: hazelcast_idempotent_repository.diff, hazelcast_idempotent_repository_02.diff, hazelcast_idempotent_repository_03.diff, hazelcast_idempotent_repository_04.diff
>
>
> As Hazelcast is a distributed data grid, it would be useful to use it as idempotent repository. Despite to the plain in memory repository it can act as idempotent repository over n cluster nodes with very few effort.   

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CAMEL-3935) camel-hazelcast idempotent repository

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-3935?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13036130#comment-13036130 ] 

Claus Ibsen commented on CAMEL-3935:
------------------------------------

Thanks for the patch. I polished it a bit. Do you mind helping out with the wiki documentation? We need to add about this in the idempotent consumer EIP wiki page.

> camel-hazelcast idempotent repository 
> --------------------------------------
>
>                 Key: CAMEL-3935
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3935
>             Project: Camel
>          Issue Type: New Feature
>            Reporter: Claus Straube
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.8.0
>
>         Attachments: hazelcast_idempotent_repository.diff, hazelcast_idempotent_repository_02.diff, hazelcast_idempotent_repository_03.diff, hazelcast_idempotent_repository_04.diff
>
>
> As Hazelcast is a distributed data grid, it would be useful to use it as idempotent repository. Despite to the plain in memory repository it can act as idempotent repository over n cluster nodes with very few effort.   

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (CAMEL-3935) camel-hazelcast idempotent repository

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

Claus Straube updated CAMEL-3935:
---------------------------------

    Attachment: hazelcast_idempotent_repository.diff

patch with the idempotent repository implementation + test. Also updated Hazelcast version.

> camel-hazelcast idempotent repository 
> --------------------------------------
>
>                 Key: CAMEL-3935
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3935
>             Project: Camel
>          Issue Type: Improvement
>    Affects Versions: 2.8.0
>            Reporter: Claus Straube
>            Priority: Minor
>             Fix For: 2.8.0
>
>         Attachments: hazelcast_idempotent_repository.diff
>
>
> As Hazelcast is a distributed data grid, it would be useful to use it as idempotent repository. Despite to the plain in memory repository it can act as idempotent repository over n cluster nodes with very few effort.   

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CAMEL-3935) camel-hazelcast idempotent repository

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-3935?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13036115#comment-13036115 ] 

Claus Ibsen commented on CAMEL-3935:
------------------------------------

Claus do you mind re-attaching a patch based on the latest source code from trunk? Then its easier and faster for us/me to apply the patch.

> camel-hazelcast idempotent repository 
> --------------------------------------
>
>                 Key: CAMEL-3935
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3935
>             Project: Camel
>          Issue Type: New Feature
>            Reporter: Claus Straube
>            Priority: Minor
>             Fix For: 2.8.0
>
>         Attachments: hazelcast_idempotent_repository.diff, hazelcast_idempotent_repository_02.diff, hazelcast_idempotent_repository_03.diff
>
>
> As Hazelcast is a distributed data grid, it would be useful to use it as idempotent repository. Despite to the plain in memory repository it can act as idempotent repository over n cluster nodes with very few effort.   

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CAMEL-3935) camel-hazelcast idempotent repository

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-3935?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13036136#comment-13036136 ] 

Claus Ibsen commented on CAMEL-3935:
------------------------------------

Yeah just add it to the idempotent consumer eip page, we already got for SQL.
You can of course mention on the hazelcast component page that it has this feature for the idempotent EIP

And yes a tutorial is welcome. If its not so length. Then consider it as a cookbook instead (small tutorials)

> camel-hazelcast idempotent repository 
> --------------------------------------
>
>                 Key: CAMEL-3935
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3935
>             Project: Camel
>          Issue Type: New Feature
>            Reporter: Claus Straube
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.8.0
>
>         Attachments: hazelcast_idempotent_repository.diff, hazelcast_idempotent_repository_02.diff, hazelcast_idempotent_repository_03.diff, hazelcast_idempotent_repository_04.diff
>
>
> As Hazelcast is a distributed data grid, it would be useful to use it as idempotent repository. Despite to the plain in memory repository it can act as idempotent repository over n cluster nodes with very few effort.   

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (CAMEL-3935) camel-hazelcast idempotent repository

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

Claus Straube updated CAMEL-3935:
---------------------------------

    Attachment: hazelcast_idempotent_repository_04.diff

patch from the latest trunk

> camel-hazelcast idempotent repository 
> --------------------------------------
>
>                 Key: CAMEL-3935
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3935
>             Project: Camel
>          Issue Type: New Feature
>            Reporter: Claus Straube
>            Priority: Minor
>             Fix For: 2.8.0
>
>         Attachments: hazelcast_idempotent_repository.diff, hazelcast_idempotent_repository_02.diff, hazelcast_idempotent_repository_03.diff, hazelcast_idempotent_repository_04.diff
>
>
> As Hazelcast is a distributed data grid, it would be useful to use it as idempotent repository. Despite to the plain in memory repository it can act as idempotent repository over n cluster nodes with very few effort.   

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (CAMEL-3935) camel-hazelcast idempotent repository

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

Claus Straube updated CAMEL-3935:
---------------------------------

    Attachment: hazelcast_idempotent_repository_03.diff

Removed Version update (this caused errors in tests). Added OSGi export property to pom.   

> camel-hazelcast idempotent repository 
> --------------------------------------
>
>                 Key: CAMEL-3935
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3935
>             Project: Camel
>          Issue Type: New Feature
>            Reporter: Claus Straube
>            Priority: Minor
>             Fix For: 2.8.0
>
>         Attachments: hazelcast_idempotent_repository.diff, hazelcast_idempotent_repository_02.diff, hazelcast_idempotent_repository_03.diff
>
>
> As Hazelcast is a distributed data grid, it would be useful to use it as idempotent repository. Despite to the plain in memory repository it can act as idempotent repository over n cluster nodes with very few effort.   

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira