View Javadoc

1   /*
2    * $Id: TestFilter.java 19191 2010-08-25 21:05:23Z tcarlson $
3    * --------------------------------------------------------------------------------------
4    * Copyright (c) MuleSoft, Inc.  All rights reserved.  http://www.mulesoft.com
5    *
6    * The software in this package is published under the terms of the CPAL v1.0
7    * license, a copy of which has been included with this distribution in the
8    * LICENSE.txt file.
9    */
10  package org.mule.test.integration.config;
11  
12  import org.mule.api.MuleMessage;
13  import org.mule.api.routing.filter.Filter;
14  
15  /**
16   * TODO
17   */
18  public class TestFilter implements Filter
19  {
20      private String foo;
21      private int bar;
22  
23      public int getBar()
24      {
25          return bar;
26      }
27  
28      public void setBar(int bar)
29      {
30          this.bar = bar;
31      }
32  
33      public String getFoo()
34      {
35          return foo;
36      }
37  
38      public void setFoo(String foo)
39      {
40          this.foo = foo;
41      }
42  
43      public boolean accept(MuleMessage message)
44      {
45          return true;
46      }
47  }