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 2012/02/11 14:26:06 UTC
svn commit: r1243057 -
/camel/trunk/camel-core/src/main/java/org/apache/camel/model/RecipientListDefinition.java
Author: davsclaus
Date: Sat Feb 11 13:26:06 2012
New Revision: 1243057
URL: http://svn.apache.org/viewvc?rev=1243057&view=rev
Log:
CAMEL-5001: recipient list shareUnitOfWork is no longer @deprecated. Its useable when people want to move the original message into the DLC.
Modified:
camel/trunk/camel-core/src/main/java/org/apache/camel/model/RecipientListDefinition.java
Modified: camel/trunk/camel-core/src/main/java/org/apache/camel/model/RecipientListDefinition.java
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/model/RecipientListDefinition.java?rev=1243057&r1=1243056&r2=1243057&view=diff
==============================================================================
--- camel/trunk/camel-core/src/main/java/org/apache/camel/model/RecipientListDefinition.java (original)
+++ camel/trunk/camel-core/src/main/java/org/apache/camel/model/RecipientListDefinition.java Sat Feb 11 13:26:06 2012
@@ -71,7 +71,6 @@ public class RecipientListDefinition<Typ
@XmlTransient
private Processor onPrepare;
@XmlAttribute
- @Deprecated
private Boolean shareUnitOfWork;
public RecipientListDefinition() {
@@ -309,7 +308,6 @@ public class RecipientListDefinition<Typ
* @return the builder.
* @see org.apache.camel.spi.SubUnitOfWork
*/
- @Deprecated
public RecipientListDefinition<Type> shareUnitOfWork() {
setShareUnitOfWork(true);
return this;
@@ -430,17 +428,14 @@ public class RecipientListDefinition<Typ
this.onPrepare = onPrepare;
}
- @Deprecated
public Boolean getShareUnitOfWork() {
return shareUnitOfWork;
}
- @Deprecated
public void setShareUnitOfWork(Boolean shareUnitOfWork) {
this.shareUnitOfWork = shareUnitOfWork;
}
- @Deprecated
public boolean isShareUnitOfWork() {
return shareUnitOfWork != null && shareUnitOfWork;
}