You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Jonathan Anstey (JIRA)" <ji...@apache.org> on 2008/08/08 18:08:52 UTC

[jira] Created: (CAMEL-801) Support array value headers in dynamic recipient list

Support array value headers in dynamic recipient list
-----------------------------------------------------

                 Key: CAMEL-801
                 URL: https://issues.apache.org/activemq/browse/CAMEL-801
             Project: Apache Camel
          Issue Type: Improvement
          Components: camel-core, camel-spring
    Affects Versions: 1.4.0
            Reporter: Jonathan Anstey
             Fix For: 1.5.0
         Attachments: supportDynamicRecipientListWithArrayHeader.patch

I noticed that you can't currently specify something like the following (where the header is an array of values):

{code:language=xml}
  <route>
    <from uri="seda:a"/>
    <recipientList>
      <header>recipientListHeader</header>
    </recipientList>
  </route>
{code}

which is equivalent to the Java DSL

{code:language=java}
from("seda:a").recipientList(header("recipientListHeader"));
{code}


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


[jira] Commented: (CAMEL-801) Support array value headers in dynamic recipient list

Posted by "Hadrian Zbarcea (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-801?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=44872#action_44872 ] 

Hadrian Zbarcea commented on CAMEL-801:
---------------------------------------

@Jon: had to append Test to SpringRecipientListWithArrayHeader.java if we were to run it in the builds :).  Full build going on now...

> Support array value headers in dynamic recipient list
> -----------------------------------------------------
>
>                 Key: CAMEL-801
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-801
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-core, camel-spring
>    Affects Versions: 1.4.0
>            Reporter: Jonathan Anstey
>            Assignee: Hadrian Zbarcea
>             Fix For: 1.5.0
>
>         Attachments: supportDynamicRecipientListWithArrayHeader.patch
>
>
> I noticed that you can't currently specify something like the following (where the header is an array of values):
> {code:language=xml}
>   <route>
>     <from uri="seda:a"/>
>     <recipientList>
>       <header>recipientListHeader</header>
>     </recipientList>
>   </route>
> {code}
> which is equivalent to the Java DSL
> {code:language=java}
> from("seda:a").recipientList(header("recipientListHeader"));
> {code}

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


[jira] Updated: (CAMEL-801) Support array value headers in dynamic recipient list

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

Jonathan Anstey updated CAMEL-801:
----------------------------------

    Patch Info: [Patch Available]

> Support array value headers in dynamic recipient list
> -----------------------------------------------------
>
>                 Key: CAMEL-801
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-801
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-core, camel-spring
>    Affects Versions: 1.4.0
>            Reporter: Jonathan Anstey
>             Fix For: 1.5.0
>
>         Attachments: supportDynamicRecipientListWithArrayHeader.patch
>
>
> I noticed that you can't currently specify something like the following (where the header is an array of values):
> {code:language=xml}
>   <route>
>     <from uri="seda:a"/>
>     <recipientList>
>       <header>recipientListHeader</header>
>     </recipientList>
>   </route>
> {code}
> which is equivalent to the Java DSL
> {code:language=java}
> from("seda:a").recipientList(header("recipientListHeader"));
> {code}

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


[jira] Commented: (CAMEL-801) Support array value headers in dynamic recipient list

Posted by "Jonathan Anstey (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-801?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=44873#action_44873 ] 

Jonathan Anstey commented on CAMEL-801:
---------------------------------------

Good catch! I was passing in the test explicitly like so 'mvn -Dtest=SpringRecipientListWithArrayHeader'

> Support array value headers in dynamic recipient list
> -----------------------------------------------------
>
>                 Key: CAMEL-801
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-801
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-core, camel-spring
>    Affects Versions: 1.4.0
>            Reporter: Jonathan Anstey
>            Assignee: Hadrian Zbarcea
>             Fix For: 1.5.0
>
>         Attachments: supportDynamicRecipientListWithArrayHeader.patch
>
>
> I noticed that you can't currently specify something like the following (where the header is an array of values):
> {code:language=xml}
>   <route>
>     <from uri="seda:a"/>
>     <recipientList>
>       <header>recipientListHeader</header>
>     </recipientList>
>   </route>
> {code}
> which is equivalent to the Java DSL
> {code:language=java}
> from("seda:a").recipientList(header("recipientListHeader"));
> {code}

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


[jira] Resolved: (CAMEL-801) Support array value headers in dynamic recipient list

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

Hadrian Zbarcea resolved CAMEL-801.
-----------------------------------

    Resolution: Fixed

Awsome.  Patch applied.  Thanks Jon!

> Support array value headers in dynamic recipient list
> -----------------------------------------------------
>
>                 Key: CAMEL-801
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-801
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-core, camel-spring
>    Affects Versions: 1.4.0
>            Reporter: Jonathan Anstey
>            Assignee: Hadrian Zbarcea
>             Fix For: 1.5.0
>
>         Attachments: supportDynamicRecipientListWithArrayHeader.patch
>
>
> I noticed that you can't currently specify something like the following (where the header is an array of values):
> {code:language=xml}
>   <route>
>     <from uri="seda:a"/>
>     <recipientList>
>       <header>recipientListHeader</header>
>     </recipientList>
>   </route>
> {code}
> which is equivalent to the Java DSL
> {code:language=java}
> from("seda:a").recipientList(header("recipientListHeader"));
> {code}

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


[jira] Updated: (CAMEL-801) Support array value headers in dynamic recipient list

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

Jonathan Anstey updated CAMEL-801:
----------------------------------

    Attachment: supportDynamicRecipientListWithArrayHeader.patch

Patch to fix this issue.

> Support array value headers in dynamic recipient list
> -----------------------------------------------------
>
>                 Key: CAMEL-801
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-801
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-core, camel-spring
>    Affects Versions: 1.4.0
>            Reporter: Jonathan Anstey
>             Fix For: 1.5.0
>
>         Attachments: supportDynamicRecipientListWithArrayHeader.patch
>
>
> I noticed that you can't currently specify something like the following (where the header is an array of values):
> {code:language=xml}
>   <route>
>     <from uri="seda:a"/>
>     <recipientList>
>       <header>recipientListHeader</header>
>     </recipientList>
>   </route>
> {code}
> which is equivalent to the Java DSL
> {code:language=java}
> from("seda:a").recipientList(header("recipientListHeader"));
> {code}

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


[jira] Assigned: (CAMEL-801) Support array value headers in dynamic recipient list

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

Hadrian Zbarcea reassigned CAMEL-801:
-------------------------------------

    Assignee: Hadrian Zbarcea

> Support array value headers in dynamic recipient list
> -----------------------------------------------------
>
>                 Key: CAMEL-801
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-801
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-core, camel-spring
>    Affects Versions: 1.4.0
>            Reporter: Jonathan Anstey
>            Assignee: Hadrian Zbarcea
>             Fix For: 1.5.0
>
>         Attachments: supportDynamicRecipientListWithArrayHeader.patch
>
>
> I noticed that you can't currently specify something like the following (where the header is an array of values):
> {code:language=xml}
>   <route>
>     <from uri="seda:a"/>
>     <recipientList>
>       <header>recipientListHeader</header>
>     </recipientList>
>   </route>
> {code}
> which is equivalent to the Java DSL
> {code:language=java}
> from("seda:a").recipientList(header("recipientListHeader"));
> {code}

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