[
https://issues.apache.org/jira/browse/CAMEL-10908?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=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 Igarashi <[email protected]>
Date: 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)