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