servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jstrac...@apache.org
Subject svn commit: r391094 - /incubator/servicemix/trunk/servicemix-core/src/main/java/org/apache/servicemix/client/ServiceMixClient.java
Date Mon, 03 Apr 2006 17:46:35 GMT
Author: jstrachan
Date: Mon Apr  3 10:46:34 2006
New Revision: 391094

URL: http://svn.apache.org/viewcvs?rev=391094&view=rev
Log:
added helper method

Modified:
    incubator/servicemix/trunk/servicemix-core/src/main/java/org/apache/servicemix/client/ServiceMixClient.java

Modified: incubator/servicemix/trunk/servicemix-core/src/main/java/org/apache/servicemix/client/ServiceMixClient.java
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/servicemix-core/src/main/java/org/apache/servicemix/client/ServiceMixClient.java?rev=391094&r1=391093&r2=391094&view=diff
==============================================================================
--- incubator/servicemix/trunk/servicemix-core/src/main/java/org/apache/servicemix/client/ServiceMixClient.java
(original)
+++ incubator/servicemix/trunk/servicemix-core/src/main/java/org/apache/servicemix/client/ServiceMixClient.java
Mon Apr  3 10:46:34 2006
@@ -38,8 +38,10 @@
  * container or to receive them using the regular JBI API together with a collection of helper
methods making it
  * easier to interact with the JBI API.
  *
+ * 
  * @version $Revision$
  */
+// * @deprecated Please use the {@link Client} interface instead.
 public interface ServiceMixClient {
 
 
@@ -293,6 +295,12 @@
     void fail(MessageExchange exchange, Fault fault) throws MessagingException;
 
     /**
+     * A helper method which fails and completes the given exchange with the specified exception
+     */
+    void fail(MessageExchange exchange, Exception error) throws MessagingException;
+
+        
+        /**
      * Returns the current component context which can be used to activate endpoints, components
and
      * query the available service endpoints.
      *



Mime
View raw message