You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Alan Foster (JIRA)" <ji...@apache.org> on 2012/09/16 18:25:07 UTC

[jira] [Created] (CAMEL-5619) Add blueprint example for XPath on headers

Alan Foster created CAMEL-5619:
----------------------------------

             Summary: Add blueprint example for XPath on headers
                 Key: CAMEL-5619
                 URL: https://issues.apache.org/jira/browse/CAMEL-5619
             Project: Camel
          Issue Type: Bug
            Reporter: Alan Foster
         Attachments: CAMEL-5619.patch

There is currently no example of blueprint DSL using XPath on a header's value.

I added an example to the XPath documentation page, but it is hard coded in a 'code' element. It would be nice to add this example to source in order to use the 'snippet' element that other examples seem to use

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CAMEL-5619) Add blueprint example for XPath on headers

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

Alan Foster commented on CAMEL-5619:
------------------------------------

[~davsclaus] Thanks for explaining this; I shall use that notation for any future examples. I used a 'blueprint' example simply because I noticed there were not too many blueprint examples in the documentation, but as you say they would be identical
                
> Add blueprint example for XPath on headers
> ------------------------------------------
>
>                 Key: CAMEL-5619
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5619
>             Project: Camel
>          Issue Type: Task
>          Components: documentation
>            Reporter: Alan Foster
>            Assignee: Claus Ibsen
>            Priority: Trivial
>             Fix For: 2.11.0
>
>         Attachments: CAMEL-5619.patch
>
>
> There is currently no example of blueprint DSL using XPath on a header's value.
> I added an example to the XPath documentation page, but it is hard coded in a 'code' element. It would be nice to add this example to source in order to use the 'snippet' element that other examples seem to use

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CAMEL-5619) Add blueprint example for XPath on headers

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

Claus Ibsen commented on CAMEL-5619:
------------------------------------

The DSL is the same for XML in spring/blueprint, so this example does not bring much to the table.
                
> Add blueprint example for XPath on headers
> ------------------------------------------
>
>                 Key: CAMEL-5619
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5619
>             Project: Camel
>          Issue Type: Bug
>          Components: documentation
>            Reporter: Alan Foster
>             Fix For: 2.11.0
>
>         Attachments: CAMEL-5619.patch
>
>
> There is currently no example of blueprint DSL using XPath on a header's value.
> I added an example to the XPath documentation page, but it is hard coded in a 'code' element. It would be nice to add this example to source in order to use the 'snippet' element that other examples seem to use

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CAMEL-5619) Add blueprint example for XPath on headers

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

Claus Ibsen commented on CAMEL-5619:
------------------------------------

I added the needed snippet tags to the xml file. Take a look at this commit
http://svn.apache.org/viewvc?rev=1386720&view=rev

And then in the wiki documentation you do:
{code}
{snippet:id=e1|lang=xml|url=camel/trunk/components/camel-test-blueprint/src/test/resources/org/apache/camel/test/blueprint/xpath/XPathHeaderNameTest.xml}
{code}

Notice the id should match the id in the source code.
                
> Add blueprint example for XPath on headers
> ------------------------------------------
>
>                 Key: CAMEL-5619
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5619
>             Project: Camel
>          Issue Type: Task
>          Components: documentation
>            Reporter: Alan Foster
>            Assignee: Claus Ibsen
>            Priority: Trivial
>             Fix For: 2.11.0
>
>         Attachments: CAMEL-5619.patch
>
>
> There is currently no example of blueprint DSL using XPath on a header's value.
> I added an example to the XPath documentation page, but it is hard coded in a 'code' element. It would be nice to add this example to source in order to use the 'snippet' element that other examples seem to use

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (CAMEL-5619) Add blueprint example for XPath on headers

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

Claus Ibsen updated CAMEL-5619:
-------------------------------

      Component/s: documentation
         Priority: Trivial  (was: Major)
    Fix Version/s: 2.11.0
         Assignee: Claus Ibsen
       Issue Type: Task  (was: Bug)
    
> Add blueprint example for XPath on headers
> ------------------------------------------
>
>                 Key: CAMEL-5619
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5619
>             Project: Camel
>          Issue Type: Task
>          Components: documentation
>            Reporter: Alan Foster
>            Assignee: Claus Ibsen
>            Priority: Trivial
>             Fix For: 2.11.0
>
>         Attachments: CAMEL-5619.patch
>
>
> There is currently no example of blueprint DSL using XPath on a header's value.
> I added an example to the XPath documentation page, but it is hard coded in a 'code' element. It would be nice to add this example to source in order to use the 'snippet' element that other examples seem to use

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (CAMEL-5619) Add blueprint example for XPath on headers

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

Alan Foster updated CAMEL-5619:
-------------------------------

    Attachment: CAMEL-5619.patch

Patch supplied.
                
> Add blueprint example for XPath on headers
> ------------------------------------------
>
>                 Key: CAMEL-5619
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5619
>             Project: Camel
>          Issue Type: Bug
>            Reporter: Alan Foster
>         Attachments: CAMEL-5619.patch
>
>
> There is currently no example of blueprint DSL using XPath on a header's value.
> I added an example to the XPath documentation page, but it is hard coded in a 'code' element. It would be nice to add this example to source in order to use the 'snippet' element that other examples seem to use

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (CAMEL-5619) Add blueprint example for XPath on headers

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

Claus Ibsen resolved CAMEL-5619.
--------------------------------

    Resolution: Fixed
    
> Add blueprint example for XPath on headers
> ------------------------------------------
>
>                 Key: CAMEL-5619
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5619
>             Project: Camel
>          Issue Type: Task
>          Components: documentation
>            Reporter: Alan Foster
>            Assignee: Claus Ibsen
>            Priority: Trivial
>             Fix For: 2.11.0
>
>         Attachments: CAMEL-5619.patch
>
>
> There is currently no example of blueprint DSL using XPath on a header's value.
> I added an example to the XPath documentation page, but it is hard coded in a 'code' element. It would be nice to add this example to source in order to use the 'snippet' element that other examples seem to use

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CAMEL-5619) Add blueprint example for XPath on headers

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

Claus Ibsen commented on CAMEL-5619:
------------------------------------

For doc snippets to work you need to add a being / end token.

See some of the pages for an example.
I think there is some on http://camel.apache.org/file2. 
                
> Add blueprint example for XPath on headers
> ------------------------------------------
>
>                 Key: CAMEL-5619
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5619
>             Project: Camel
>          Issue Type: Task
>          Components: documentation
>            Reporter: Alan Foster
>            Assignee: Claus Ibsen
>            Priority: Trivial
>             Fix For: 2.11.0
>
>         Attachments: CAMEL-5619.patch
>
>
> There is currently no example of blueprint DSL using XPath on a header's value.
> I added an example to the XPath documentation page, but it is hard coded in a 'code' element. It would be nice to add this example to source in order to use the 'snippet' element that other examples seem to use

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira