servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r669199 - in /servicemix/components/engines/servicemix-bean/trunk: ./ src/main/java/org/apache/servicemix/bean/support/TransformBeanSupport.java
Date Wed, 18 Jun 2008 14:59:18 GMT
Author: chirino
Date: Wed Jun 18 07:59:18 2008
New Revision: 669199

URL: http://svn.apache.org/viewvc?rev=669199&view=rev
Log:
Merged revisions 669098 via svnmerge from 
https://svn.apache.org/repos/asf/servicemix/smx3/trunk/deployables/serviceengines/servicemix-bean

........
  r669098 | gnodet | 2008-06-18 03:04:36 -0400 (Wed, 18 Jun 2008) | 1 line
  
  SM-1305: Add getter / setter for the target field
........

Modified:
    servicemix/components/engines/servicemix-bean/trunk/   (props changed)
    servicemix/components/engines/servicemix-bean/trunk/src/main/java/org/apache/servicemix/bean/support/TransformBeanSupport.java

Propchange: servicemix/components/engines/servicemix-bean/trunk/
------------------------------------------------------------------------------
--- svnmerge-integrated (original)
+++ svnmerge-integrated Wed Jun 18 07:59:18 2008
@@ -1 +1 @@
-/servicemix/smx3/trunk/deployables/serviceengines/servicemix-bean:1-664002
+/servicemix/smx3/trunk/deployables/serviceengines/servicemix-bean:1-669198

Modified: servicemix/components/engines/servicemix-bean/trunk/src/main/java/org/apache/servicemix/bean/support/TransformBeanSupport.java
URL: http://svn.apache.org/viewvc/servicemix/components/engines/servicemix-bean/trunk/src/main/java/org/apache/servicemix/bean/support/TransformBeanSupport.java?rev=669199&r1=669198&r2=669199&view=diff
==============================================================================
--- servicemix/components/engines/servicemix-bean/trunk/src/main/java/org/apache/servicemix/bean/support/TransformBeanSupport.java
(original)
+++ servicemix/components/engines/servicemix-bean/trunk/src/main/java/org/apache/servicemix/bean/support/TransformBeanSupport.java
Wed Jun 18 07:59:18 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