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