[jira] Created: (CAMEL-1251) Dynamic Recipient List should be smarter for multiple endpoints

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (CAMEL-1251) Dynamic Recipient List should be smarter for multiple endpoints

JIRA jira@apache.org
Dynamic Recipient List should be smarter for multiple endpoints
---------------------------------------------------------------

                 Key: CAMEL-1251
                 URL: https://issues.apache.org/activemq/browse/CAMEL-1251
             Project: Apache Camel
          Issue Type: Improvement
          Components: camel-core
    Affects Versions: 1.5.0
            Reporter: Claus Ibsen
            Assignee: Claus Ibsen
            Priority: Minor
             Fix For: 1.5.1, 2.0.0


The recipient list looks for a header with a value with the endpoints to send to.

It gets the list of destination using ObjectHelper.createIterator(value) that will detect what kind of object type it is and return an appropriate iterator.

We need to expose a attribute for a tokenizer attribute in Spring DSL. You cannot from Spring DSL use the expression builder, where you need the tokenizer for String delimited endpoints that I guess is a very common for setting multiple endpoints.

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

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (CAMEL-1251) Dynamic Recipient List should be smarter for multiple endpoints

JIRA jira@apache.org

    [ https://issues.apache.org/activemq/browse/CAMEL-1251?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=48683#action_48683 ]

Claus Ibsen commented on CAMEL-1251:
------------------------------------

davsclaus:(svn)camel[trunk:734343]/$ svn commit --message "CAMEL-1251: Dynamic recipient list not handles a single String with endpoints seperated with comma. Exposes a seperator attribute in Spring DSL to set it. Polished zip dataformat."
Sending        camel-core/src/main/java/org/apache/camel/impl/ZipDataFormat.java
Sending        camel-core/src/main/java/org/apache/camel/model/RecipientListType.java
Sending        camel-core/src/main/java/org/apache/camel/model/dataformat/ZipDataFormat.java
Sending        camel-core/src/main/java/org/apache/camel/processor/RecipientList.java
Sending        camel-core/src/main/java/org/apache/camel/util/ObjectHelper.java
Sending        camel-core/src/test/java/org/apache/camel/impl/ZipDataFormatTest.java
Adding         camel-core/src/test/java/org/apache/camel/processor/RecipientListWithStringDelimitedHeaderTest.java
Sending        camel-core/src/test/java/org/apache/camel/util/ObjectHelperTest.java
Adding         components/camel-spring/src/test/java/org/apache/camel/spring/processor/SpringRecipientListWithStringDelimitedHeaderTest.java
Adding         components/camel-spring/src/test/resources/org/apache/camel/spring/processor/recipientListWithStringDelimitedHeader.xml
Transmitting file data ..........
Committed revision 734348.

> Dynamic Recipient List should be smarter for multiple endpoints
> ---------------------------------------------------------------
>
>                 Key: CAMEL-1251
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1251
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 1.5.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 1.5.1, 2.0.0
>
>
> The recipient list looks for a header with a value with the endpoints to send to.
> It gets the list of destination using ObjectHelper.createIterator(value) that will detect what kind of object type it is and return an appropriate iterator.
> We need to expose a attribute for a tokenizer attribute in Spring DSL. You cannot from Spring DSL use the expression builder, where you need the tokenizer for String delimited endpoints that I guess is a very common for setting multiple endpoints.

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

Reply | Threaded
Open this post in threaded view
|

[jira] Resolved: (CAMEL-1251) Dynamic Recipient List should be smarter for multiple endpoints

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

     [ https://issues.apache.org/activemq/browse/CAMEL-1251?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-1251.
--------------------------------

    Resolution: Fixed

> Dynamic Recipient List should be smarter for multiple endpoints
> ---------------------------------------------------------------
>
>                 Key: CAMEL-1251
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1251
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 1.5.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 1.5.1, 2.0.0
>
>
> The recipient list looks for a header with a value with the endpoints to send to.
> It gets the list of destination using ObjectHelper.createIterator(value) that will detect what kind of object type it is and return an appropriate iterator.
> We need to expose a attribute for a tokenizer attribute in Spring DSL. You cannot from Spring DSL use the expression builder, where you need the tokenizer for String delimited endpoints that I guess is a very common for setting multiple endpoints.

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

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (CAMEL-1251) Dynamic Recipient List should be smarter for multiple endpoints

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

    [ https://issues.apache.org/activemq/browse/CAMEL-1251?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=48686#action_48686 ]

Claus Ibsen commented on CAMEL-1251:
------------------------------------

And in 1.x: Committed revision 734353.

> Dynamic Recipient List should be smarter for multiple endpoints
> ---------------------------------------------------------------
>
>                 Key: CAMEL-1251
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1251
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 1.5.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 1.5.1, 2.0.0
>
>
> The recipient list looks for a header with a value with the endpoints to send to.
> It gets the list of destination using ObjectHelper.createIterator(value) that will detect what kind of object type it is and return an appropriate iterator.
> We need to expose a attribute for a tokenizer attribute in Spring DSL. You cannot from Spring DSL use the expression builder, where you need the tokenizer for String delimited endpoints that I guess is a very common for setting multiple endpoints.

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