[jira] [Commented] (CAMEL-10908) Introduce DataTypeAware interface and let MessageSupport implement it
[ https://issues.apache.org/jira/browse/CAMEL-10908?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15891795#comment-15891795 ] ASF GitHub Bot commented on CAMEL-10908: Github user igarashitm closed the pull request at: https://github.com/apache/camel/pull/1501 > Introduce DataTypeAware interface and let MessageSupport implement it > - > > Key: CAMEL-10908 > URL: https://issues.apache.org/jira/browse/CAMEL-10908 > Project: Camel > Issue Type: Task > Components: camel-core >Affects Versions: 2.19.0 >Reporter: Tomohisa Igarashi >Assignee: Tomohisa Igarashi > Fix For: 2.19.0 > > > Instead of carrying around the INPUT_TYPE/OUTPUT_TYPE exchange properties, > let Message hold the DataType directly as those exchange properties get out > of sync when Pipeline copies the message between IN and OUT. > {code:java} > public interface DataTypeAware { > void setDataType(DataType type); > > DataType getDataType(); > > setBody(Object body, DataType type); > > } > {code} -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (CAMEL-10908) Introduce DataTypeAware interface and let MessageSupport implement it
[ https://issues.apache.org/jira/browse/CAMEL-10908?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15891528#comment-15891528 ] ASF GitHub Bot commented on CAMEL-10908: GitHub user igarashitm opened a pull request: https://github.com/apache/camel/pull/1501 CAMEL-10908 Fixed adoc a follow up for the https://github.com/apache/camel/pull/1497 fixing transformer.adoc. You can merge this pull request into a Git repository by running: $ git pull https://github.com/igarashitm/camel CAMEL-10908-doc Alternatively you can review and apply these changes as the patch at: https://github.com/apache/camel/pull/1501.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #1501 commit 5c7b90bb425f6803f15a8a33d6c6b7323d9f9034 Author: Tomohisa IgarashiDate: 2017-03-02T02:42:06Z CAMEL-10908 Fixed adoc > Introduce DataTypeAware interface and let MessageSupport implement it > - > > Key: CAMEL-10908 > URL: https://issues.apache.org/jira/browse/CAMEL-10908 > Project: Camel > Issue Type: Task > Components: camel-core >Affects Versions: 2.19.0 >Reporter: Tomohisa Igarashi >Assignee: Tomohisa Igarashi > Fix For: 2.19.0 > > > Instead of carrying around the INPUT_TYPE/OUTPUT_TYPE exchange properties, > let Message hold the DataType directly as those exchange properties get out > of sync when Pipeline copies the message between IN and OUT. > {code:java} > public interface DataTypeAware { > void setDataType(DataType type); > > DataType getDataType(); > > setBody(Object body, DataType type); > > } > {code} -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (CAMEL-10908) Introduce DataTypeAware interface and let MessageSupport implement it
[ https://issues.apache.org/jira/browse/CAMEL-10908?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15889761#comment-15889761 ] ASF GitHub Bot commented on CAMEL-10908: Github user asfgit closed the pull request at: https://github.com/apache/camel/pull/1497 > Introduce DataTypeAware interface and let MessageSupport implement it > - > > Key: CAMEL-10908 > URL: https://issues.apache.org/jira/browse/CAMEL-10908 > Project: Camel > Issue Type: Task > Components: camel-core >Affects Versions: 2.19.0 >Reporter: Tomohisa Igarashi >Assignee: Tomohisa Igarashi > Fix For: 2.19.0 > > > Instead of carrying around the INPUT_TYPE/OUTPUT_TYPE exchange properties, > let Message hold the DataType directly as those exchange properties get out > of sync when Pipeline copies the message between IN and OUT. > {code:java} > public interface DataTypeAware { > void setDataType(DataType type); > > DataType getDataType(); > > setBody(Object body, DataType type); > > } > {code} -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (CAMEL-10908) Introduce DataTypeAware interface and let MessageSupport implement it
[ https://issues.apache.org/jira/browse/CAMEL-10908?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15889498#comment-15889498 ] ASF GitHub Bot commented on CAMEL-10908: GitHub user igarashitm opened a pull request: https://github.com/apache/camel/pull/1497 CAMEL-10908 Introduce DataTypeAware interface and let MessageSupport … …implement it This also solves CAMEL-10890 This is a follow up of the discussion here: https://github.com/apache/camel/pull/1492 Instead of carrying around the INPUT_TYPE/OUTPUT_TYPE exchange properties, introduced DataTypeAware which allows camel Message to store its DataType. You can merge this pull request into a Git repository by running: $ git pull https://github.com/igarashitm/camel CAMEL-10908 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/camel/pull/1497.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #1497 commit 0366bc15c8ab8e6229246203c1fa4723c0f5a251 Author: Tomohisa IgarashiDate: 2017-03-01T00:06:41Z CAMEL-10908 Introduce DataTypeAware interface and let MessageSupport implement it This also solves CAMEL-10890 > Introduce DataTypeAware interface and let MessageSupport implement it > - > > Key: CAMEL-10908 > URL: https://issues.apache.org/jira/browse/CAMEL-10908 > Project: Camel > Issue Type: Task > Components: camel-core >Affects Versions: 2.19.0 >Reporter: Tomohisa Igarashi >Assignee: Tomohisa Igarashi > Fix For: 2.19.0 > > > Instead of carrying around the INPUT_TYPE/OUTPUT_TYPE exchange properties, > let Message hold the DataType directly as those exchange properties get out > of sync when Pipeline copies the message between IN and OUT. > {code:java} > public interface DataTypeAware { > void setDataType(DataType type); > > DataType getDataType(); > > setBody(Object body, DataType type); > > } > {code} -- This message was sent by Atlassian JIRA (v6.3.15#6346)