Repository: camel Updated Branches: refs/heads/master 9bfad3cb8 -> ae2012ee7
CAMEL-8879: BatchMessage is only for InOnly and its deperecated. Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/ae2012ee Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/ae2012ee Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/ae2012ee Branch: refs/heads/master Commit: ae2012ee7faf12fadcbb3760e4e56990563fdf1a Parents: 9bfad3c Author: Claus Ibsen <[email protected]> Authored: Sun Feb 21 11:17:19 2016 +0100 Committer: Claus Ibsen <[email protected]> Committed: Sun Feb 21 11:18:23 2016 +0100 ---------------------------------------------------------------------- .../java/org/apache/camel/component/sjms/BatchMessage.java | 6 ++++++ 1 file changed, 6 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/ae2012ee/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/BatchMessage.java ---------------------------------------------------------------------- diff --git a/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/BatchMessage.java b/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/BatchMessage.java index fd9b79e..6a8eec4 100644 --- a/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/BatchMessage.java +++ b/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/BatchMessage.java @@ -22,7 +22,13 @@ import java.util.Map; /** * A {@link List} of these objects can be used to batch a collection of bodies and * header pairs in one exchange. + * <p/> + * <b>Important:</b> This BatchMessage is only supported by <tt>InOnly</tt> messaging style + * (eg you cannot do request/reply with this BatchMessage) + * + * @deprecated do not use, its being removed in a future Camel release */ +@Deprecated public class BatchMessage<T> { private T payload; private Map<String, Object> headers;
