1
2
3
4
5
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
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 }