1
2
3
4
5
6
7
8
9
10
11 package org.mule.test.integration.config;
12
13 import org.mule.api.MuleMessage;
14 import org.mule.api.routing.filter.Filter;
15
16
17
18
19 public class TestFilter implements Filter
20 {
21 private String foo;
22 private int bar;
23
24 public int getBar()
25 {
26 return bar;
27 }
28
29 public void setBar(int bar)
30 {
31 this.bar = bar;
32 }
33
34 public String getFoo()
35 {
36 return foo;
37 }
38
39 public void setFoo(String foo)
40 {
41 this.foo = foo;
42 }
43
44 public boolean accept(MuleMessage message)
45 {
46 return true;
47 }
48 }