1
2
3
4
5
6
7
8 package it.imolinfo.jbi4cics.messageformat;
9
10 import it.imolinfo.jbi4cics.exception.FormatException;
11 import it.imolinfo.jbi4cics.service.ServiceContext;
12
13 public class NoOpMessageFormatter implements MessageFormatter {
14
15 public NoOpMessageFormatter() {
16 super();
17
18 }
19
20 public void mapInputBeanToInputMessage(ServiceContext serviceContext) throws FormatException {
21 serviceContext.setInputMessage(serviceContext.getInputBean());
22
23 }
24
25 public void mapOutputMessageToOutputBean(ServiceContext serviceContext) throws FormatException {
26 serviceContext.setOutputBean(serviceContext.getOutputMessage());
27 }
28
29 }