1
2
3
4
5
6
7 package org.mule.module.spring.remoting;
8
9
10
11
12 public class DoSomeWork implements WorkInterface
13 {
14 public String executeByteArray(byte[] input)
15 {
16 return executeString(new String(input));
17 }
18
19 public String executeString(String input)
20 {
21 return "You said " + input;
22 }
23
24 public ComplexData executeComplexity(ComplexData input)
25 {
26 input.setSomeString(input.getSomeString() + " Received");
27 input.setSomeInteger(new Integer(input.getSomeInteger().intValue() + 1));
28 return input;
29 }
30 }