1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.rice.ksb.testclient1;
17
18 import org.apache.commons.lang.StringUtils;
19 import org.apache.log4j.Logger;
20 import org.kuali.rice.core.api.exception.RiceIllegalArgumentException;
21 import org.kuali.rice.ksb.messaging.service.KSBXMLService;
22
23 public class XmlAsyncTestServiceImpl implements KSBXMLService {
24
25 private static final Logger LOG = Logger.getLogger(XmlAsyncTestServiceImpl.class);
26
27 public void invoke(String message) {
28 if (StringUtils.isBlank(message)) {
29 throw new RiceIllegalArgumentException("message is null or blank");
30 }
31
32 LOG.info("invoked with message: " + message);
33 }
34
35
36 }