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 Ibsen (JIRA)" <ji...@apache.org> on 2009/01/29 08:32:59 UTC

[jira] Created: (CAMEL-1302) Documentation - Add camel-bindy documentation

Documentation - Add camel-bindy documentation
---------------------------------------------

                 Key: CAMEL-1302
                 URL: https://issues.apache.org/activemq/browse/CAMEL-1302
             Project: Apache Camel
          Issue Type: Sub-task
          Components: camel-bindy
            Reporter: Claus Ibsen
            Assignee: Claus Ibsen
             Fix For: 2.0.0




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


Re: [jira] Commented: (CAMEL-1302) Documentation - Add camel-bindy documentation

Posted by Claus Ibsen <cl...@gmail.com>.
Hi

Bindy is a component donated by Charles Moulliard that choosed that name.

I guess its named like this sine it does annotation based POJO binding
from other data formats, currently only CSV.



On Fri, Jan 30, 2009 at 4:36 PM, William Tam <em...@gmail.com> wrote:
> BTW, I am curious about the name "bindy".   What does it mean?
>
> On Fri, Jan 30, 2009 at 1:28 AM, Claus Ibsen (JIRA) <ji...@apache.org> wrote:
>>
>>    [ https://issues.apache.org/activemq/browse/CAMEL-1302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=49034#action_49034 ]
>>
>> Claus Ibsen commented on CAMEL-1302:
>> ------------------------------------
>>
>> Charles the wiki page is here you should update:
>> http://camel.apache.org/bindy.html
>>
>>
>>> Documentation - Add camel-bindy documentation
>>> ---------------------------------------------
>>>
>>>                 Key: CAMEL-1302
>>>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1302
>>>             Project: Apache Camel
>>>          Issue Type: Sub-task
>>>          Components: camel-bindy
>>>            Reporter: Claus Ibsen
>>>            Assignee: Claus Ibsen
>>>             Fix For: 2.0.0
>>>
>>>
>>
>>
>> --
>> This message is automatically generated by JIRA.
>> -
>> You can reply to this email to add a comment to the issue online.
>>
>>
>



-- 
Claus Ibsen
Apache Camel Committer

Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/

Re: [jira] Commented: (CAMEL-1302) Documentation - Add camel-bindy documentation

Posted by William Tam <em...@gmail.com>.
BTW, I am curious about the name "bindy".   What does it mean?

On Fri, Jan 30, 2009 at 1:28 AM, Claus Ibsen (JIRA) <ji...@apache.org> wrote:
>
>    [ https://issues.apache.org/activemq/browse/CAMEL-1302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=49034#action_49034 ]
>
> Claus Ibsen commented on CAMEL-1302:
> ------------------------------------
>
> Charles the wiki page is here you should update:
> http://camel.apache.org/bindy.html
>
>
>> Documentation - Add camel-bindy documentation
>> ---------------------------------------------
>>
>>                 Key: CAMEL-1302
>>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1302
>>             Project: Apache Camel
>>          Issue Type: Sub-task
>>          Components: camel-bindy
>>            Reporter: Claus Ibsen
>>            Assignee: Claus Ibsen
>>             Fix For: 2.0.0
>>
>>
>
>
> --
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
>
>

[jira] Commented: (CAMEL-1302) Documentation - Add camel-bindy documentation

Posted by "Charles Moulliard (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-1302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=49150#action_49150 ] 

Charles Moulliard commented on CAMEL-1302:
------------------------------------------

First draft of the documentation has been created.

> Documentation - Add camel-bindy documentation
> ---------------------------------------------
>
>                 Key: CAMEL-1302
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1302
>             Project: Apache Camel
>          Issue Type: Sub-task
>          Components: camel-bindy
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.0.0
>
>


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


[jira] Commented: (CAMEL-1302) Documentation - Add camel-bindy documentation

Posted by "Charles Moulliard (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-1302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=49456#action_49456 ] 

Charles Moulliard commented on CAMEL-1302:
------------------------------------------

@Claus,

I have updated the documentation according to your remarks

Questions :

- Can you provide an example (perhaps a link) with snippet comments in unit test ?
- Regarding to your remark about handleOrder bean, how can I define my map as generic (Map<String, Object> model). The object can represent an Order, a Client class or whatever class defined in the model ?

> Documentation - Add camel-bindy documentation
> ---------------------------------------------
>
>                 Key: CAMEL-1302
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1302
>             Project: Apache Camel
>          Issue Type: Sub-task
>          Components: camel-bindy
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.0.0
>
>


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


[jira] Commented: (CAMEL-1302) Documentation - Add camel-bindy documentation

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

Claus Ibsen commented on CAMEL-1302:
------------------------------------

My comments to the wiki documentation at:
http://camel.apache.org/bindy.html

- The big table with the annotations is to detailed. I would like to just add 3 rows for each annotation and give the overall documentation what it is. Then you can do the detailed documentation under the table (not as a table)
- You definitely need a POJO code sample to show how the annotations works. You can use the Order / Client POJO classes you have.
- The code sample for the handleOrder bean (with the list iteratation). It should use the Order / Client POJO so you can see how you can get your POJO classes. Maybe you can add the POJO classes as generics.

For the code sample you can create real code, eg as an unit test and insert snippet comments, then we can automatic get this in the wiki documentation, so you dont need to copy it manaully.

// START SNIPPET: e1
some code here
// END SNIPPET: e1

// START SNIPPET: e2
some code here
// END SNIPPET: e2

And then you can refer to e1 or e2 in the wiki with a special wiki tag. I can show how.




> Documentation - Add camel-bindy documentation
> ---------------------------------------------
>
>                 Key: CAMEL-1302
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1302
>             Project: Apache Camel
>          Issue Type: Sub-task
>          Components: camel-bindy
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.0.0
>
>


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


[jira] Commented: (CAMEL-1302) Documentation - Add camel-bindy documentation

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

Claus Ibsen commented on CAMEL-1302:
------------------------------------

Charles the wiki page is here you should update:
http://camel.apache.org/bindy.html


> Documentation - Add camel-bindy documentation
> ---------------------------------------------
>
>                 Key: CAMEL-1302
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1302
>             Project: Apache Camel
>          Issue Type: Sub-task
>          Components: camel-bindy
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.0.0
>
>


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


[jira] Commented: (CAMEL-1302) Documentation - Add camel-bindy documentation

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

Claus Ibsen commented on CAMEL-1302:
------------------------------------

@Charles

You add wiki snippets to code by inserting the following in the wiki page

{code}
{snippet:id=e1|lang=java|url=camel/trunk/camel-core/src/test/java/org/apache/camel/processor/ChoiceCompoundPredicateTest.java}
{code}

Where id=e1 is refering to code comments in the .java file

{code:java}
                // START SNIPPET: e1
here is some code
                // END SNIPPET: e1
{code}

You can have multiple e1, so you can have: e2, e3. In fact you can name it anything, but I tend to name them e1, e2 ...

> Documentation - Add camel-bindy documentation
> ---------------------------------------------
>
>                 Key: CAMEL-1302
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1302
>             Project: Apache Camel
>          Issue Type: Sub-task
>          Components: camel-bindy
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.0.0
>
>


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


[jira] Commented: (CAMEL-1302) Documentation - Add camel-bindy documentation

Posted by "Charles Moulliard (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-1302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=49239#action_49239 ] 

Charles Moulliard commented on CAMEL-1302:
------------------------------------------

New column "Record type" has been added for the annotations

> Documentation - Add camel-bindy documentation
> ---------------------------------------------
>
>                 Key: CAMEL-1302
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1302
>             Project: Apache Camel
>          Issue Type: Sub-task
>          Components: camel-bindy
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.0.0
>
>


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


[jira] Commented: (CAMEL-1302) Documentation - Add camel-bindy documentation

Posted by "Charles Moulliard (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-1302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=49020#action_49020 ] 

Charles Moulliard commented on CAMEL-1302:
------------------------------------------

Great.

> Documentation - Add camel-bindy documentation
> ---------------------------------------------
>
>                 Key: CAMEL-1302
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1302
>             Project: Apache Camel
>          Issue Type: Sub-task
>          Components: camel-bindy
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.0.0
>
>


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


[jira] Commented: (CAMEL-1302) Documentation - Add camel-bindy documentation

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

Claus Ibsen commented on CAMEL-1302:
------------------------------------

Charles I will add some skeletons wiki page and I would like you to fill in the documentation how to use your new component

> Documentation - Add camel-bindy documentation
> ---------------------------------------------
>
>                 Key: CAMEL-1302
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1302
>             Project: Apache Camel
>          Issue Type: Sub-task
>          Components: camel-bindy
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.0.0
>
>


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


[jira] Resolved: (CAMEL-1302) Documentation - Add camel-bindy documentation

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

Claus Ibsen resolved CAMEL-1302.
--------------------------------

    Resolution: Fixed

> Documentation - Add camel-bindy documentation
> ---------------------------------------------
>
>                 Key: CAMEL-1302
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1302
>             Project: Apache Camel
>          Issue Type: Sub-task
>          Components: camel-bindy
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.0.0
>
>


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


[jira] Commented: (CAMEL-1302) Documentation - Add camel-bindy documentation

Posted by "Charles Moulliard (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-1302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=49703#action_49703 ] 

Charles Moulliard commented on CAMEL-1302:
------------------------------------------

@Claus,

I will not implement snippet now otherwise we need to patch (and probably re-patch with try-run) the existing code to test this point. I don't have the rights to commit directly my code so this is difficult for me to test.

> Documentation - Add camel-bindy documentation
> ---------------------------------------------
>
>                 Key: CAMEL-1302
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1302
>             Project: Apache Camel
>          Issue Type: Sub-task
>          Components: camel-bindy
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.0.0
>
>


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