servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gno...@apache.org
Subject svn commit: r669098 - /servicemix/smx3/trunk/deployables/serviceengines/servicemix-bean/src/main/java/org/apache/servicemix/bean/support/TransformBeanSupport.java
Date Wed, 18 Jun 2008 07:04:36 GMT
Author: gnodet
Date: Wed Jun 18 00:04:36 2008
New Revision: 669098

URL: http://svn.apache.org/viewvc?rev=669098&view=rev
Log:
SM-1305: Add getter / setter for the target field

Modified:
    servicemix/smx3/trunk/deployables/serviceengines/servicemix-bean/src/main/java/org/apache/servicemix/bean/support/TransformBeanSupport.java

Modified: servicemix/smx3/trunk/deployables/serviceengines/servicemix-bean/src/main/java/org/apache/servicemix/bean/support/TransformBeanSupport.java
URL: http://svn.apache.org/viewvc/servicemix/smx3/trunk/deployables/serviceengines/servicemix-bean/src/main/java/org/apache/servicemix/bean/support/TransformBeanSupport.java?rev=669098&r1=669097&r2=669098&view=diff
==============================================================================
--- servicemix/smx3/trunk/deployables/serviceengines/servicemix-bean/src/main/java/org/apache/servicemix/bean/support/TransformBeanSupport.java
(original)
+++ servicemix/smx3/trunk/deployables/serviceengines/servicemix-bean/src/main/java/org/apache/servicemix/bean/support/TransformBeanSupport.java
Wed Jun 18 00:04:36 2008
@@ -16,7 +16,6 @@
  */
 package org.apache.servicemix.bean.support;
 
-import javax.annotation.Resource;
 import javax.jbi.messaging.ExchangeStatus;
 import javax.jbi.messaging.InOnly;
 import javax.jbi.messaging.MessageExchange;
@@ -34,7 +33,6 @@
  */
 public abstract class TransformBeanSupport extends BeanSupport implements MessageExchangeListener
{
     
-    @Resource
     private ExchangeTarget target;
 
     private boolean copyProperties = true;
@@ -43,6 +41,14 @@
     protected TransformBeanSupport() {
     }
 
+    public ExchangeTarget getTarget() {
+        return target;
+    }
+
+    public void setTarget(ExchangeTarget target) {
+        this.target = target;
+    }
+
     public void onMessageExchange(MessageExchange exchange) {
         // Skip done exchanges
         if (exchange.getStatus() == ExchangeStatus.DONE) {



Mime
View raw message