event listener is now used by the xml router and the publish method of the gateway is
[xmlrouter] / publish / src / main / java / org / wamblee / xmlrouter / publish / Gateway.java
index 533ba2c1a6626953919b71d5b4add34dbcaf39c4..c4f61131f97a87ee6441b9a18e53687871c5bb16 100644 (file)
@@ -12,7 +12,7 @@
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
- */ 
+ */
 package org.wamblee.xmlrouter.publish;
 
 import javax.xml.transform.dom.DOMSource;
@@ -31,7 +31,6 @@ public interface Gateway {
      *            Source.
      * @param aEvent
      *            Event.
-     * @return True iff th event was delivered to at least one destination.
      */
-    boolean publish(String aSource, DOMSource aEvent);
+    void publish(String aSource, DOMSource aEvent);
 }