You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2011/06/27 11:05:41 UTC
svn commit: r1140061 -
/camel/trunk/camel-core/src/main/java/org/apache/camel/spi/UnitOfWork.java
Author: davsclaus
Date: Mon Jun 27 09:05:40 2011
New Revision: 1140061
URL: http://svn.apache.org/viewvc?rev=1140061&view=rev
Log:
Added note in javadoc about getOriginalInMessage is subject for change in later Camel release
Modified:
camel/trunk/camel-core/src/main/java/org/apache/camel/spi/UnitOfWork.java
Modified: camel/trunk/camel-core/src/main/java/org/apache/camel/spi/UnitOfWork.java
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/spi/UnitOfWork.java?rev=1140061&r1=1140060&r2=1140061&view=diff
==============================================================================
--- camel/trunk/camel-core/src/main/java/org/apache/camel/spi/UnitOfWork.java (original)
+++ camel/trunk/camel-core/src/main/java/org/apache/camel/spi/UnitOfWork.java Mon Jun 27 09:05:40 2011
@@ -70,8 +70,11 @@ public interface UnitOfWork extends Serv
/**
* Gets the original IN {@link Message} this Unit of Work was started with.
+ * <p/>
+ * <b>Important: </b> This is subject for change in a later Camel release, where we plan to only
+ * support getting the original IN message if you have enabled this option explicit.
*
- * @return the original IN {@link Message}
+ * @return the original IN {@link Message}, may return <tt>null</tt> in a later Camel release (see important note).
*/
Message getOriginalInMessage();